I'm trying to set up an NPC that can give the player a quest (I'm using the GUI). The idea is that the player can walk up to the NPC, hear his story and be given an option whether or not to accept the quest. I decided to do this using "Display Screen Button" despite having no prior experience with it, and I think I could get it working, if not for this problem.
It's a recurring problem I've had with several other triggers. I want to be able to run some stuff in a trigger, for example doing things for a specific player whose unit entered such and such region, and then in some way start another trigger with that trigger also knowing which specific player I was referring to in the first trigger. I cannot figure out how to do this. Is there a way to run a trigger and pass in an existing variable, so that the trigger has different results despite having no events?
I tried using global variables as some kind of workaround for this, but I couldn't figure out any efficient method.
Hi,
I'm trying to set up an NPC that can give the player a quest (I'm using the GUI). The idea is that the player can walk up to the NPC, hear his story and be given an option whether or not to accept the quest. I decided to do this using "Display Screen Button" despite having no prior experience with it, and I think I could get it working, if not for this problem.
It's a recurring problem I've had with several other triggers. I want to be able to run some stuff in a trigger, for example doing things for a specific player whose unit entered such and such region, and then in some way start another trigger with that trigger also knowing which specific player I was referring to in the first trigger. I cannot figure out how to do this. Is there a way to run a trigger and pass in an existing variable, so that the trigger has different results despite having no events?
I tried using global variables as some kind of workaround for this, but I couldn't figure out any efficient method.
http://img26.imageshack.us/img26/7121/probki.jpg
Thanks for any help.
Edit: Wow I just found the solution. Ctrl + Alt + F in the trigger window.