• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Disable Running Trigger

Status
Not open for further replies.
Level 25
Joined
Sep 26, 2009
Messages
2,382
Depends on what you mean by running trigger. If you mean you want to interrupt trigger's execution, then there is the "Skip remaining action" command (do note - you will have to take care of leaks before you skip remaining actions!). If you mean you don't want your trigger to even fire, then there is the action "Trigger - Turn off trigger".
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
A trigger thread that is running cannot be disabled from running directly as it will run until completion or crash before the game advances. If it blocks or is interrupted, you can send it messages to exit using some for of message passing system.
 
Last edited:
Status
Not open for further replies.
Top