• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Stopping all Actions in a Trigger.

Status
Not open for further replies.
Level 3
Joined
Apr 23, 2011
Messages
46
Hey Guys, the Problem i got is simple,

In my map is a Space Station Whit a giant laser in it, You have to fire the
laser to Deactivate a shield of a planet, after The Laser is shot, You must get out of the station beacuse it explodes after 4 minutes, now i want to stop the explode trigger when you leave the Station , because you would lose anyway then because the trigger keeps running.

How can i do that?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Turn of the timer that controls the explosion. If you use inaccurate TriggerSleepAction then add an exit test after or before each wait that termiates the trigger thread. Return will suffice to break out the function but something like set i = 0/0 will be equally effective by killing the thread.
 
Status
Not open for further replies.
Top