HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero trigger question

02-02-2003, 11:08 AM#1
Malganis
I want to make so that when two heroes is at the same place at the same time, a trigger will start, how do I do?

And also

I want to a make a trigger comes active when I have completed a quest. But if I haven´t completed that quest the trigger shall not come active. How do I do?

thanks:D
02-03-2003, 02:25 AM#2
Trav
Event: Unit enters region
Condition: Triggering Unit is a hero
Action: If (Integer Comp.) Number of Units in Region matching condition Matching unit is (specify what you want) greater than or Equal to 2 then do Trigger - Run TriggerX

For the second one, it depends on when you want the trigger to become active. If you want it to fire immediately, simply do run the trigger in the same trigger that your quest is marked as complete. Otherwise use an event that will check the (Boolean) condition specifying that your Quest is completed.
Hero trigger question - Wc3C.net