| 06-24-2002, 12:49 PM | #1 |
Guest | At the start of my RPG, I'd like to force the player to select his starting unit. After that he walks up, and talks to a guy trying to fish, fine. Anyway, I'd like for the first time you click on the fisherman, for him to tell you to get lost. Then you click on him again, pestering him until he starts talking to you. I have a variable (FishermanTalk) defaulted to 0. The first time you talk to him, the trigger checks to see if it is set to 0, then he says something, then 1 is added to FishermanTalk. The next trigger checks to see if FishermanTalk == 1, and if it does, the other line is said. These both, kind of, work. He says the first line, but immediately under it is the second. I'm assuming its because he is still selected. I tried using the Selection - Select Unit action to select the hero before the next trigger fired, but it didn't make any difference. Also, at the beginning, if I place a Selection-Select Unit action to choose him, as I said before, you can't make him move. What am I doing wrong? |
| 06-30-2002, 04:42 AM | #2 |
Set it up like this: Event Unit is selected Action select hero set talk = talk + 1 if talk = 1 say line if talk = 2 say line And so on. Should work setup that way, with it in the same trigger (the same trigger won't run multiple times at once) |
