- Joined
- Apr 24, 2012
- Messages
- 9,797
Does destroying a running trigger effectively silence it? I want skipping cinematics easier.
If actions executed by given trigger take some time (let's say it's a queue of actions), you could add few flag checkers in key-steps. If the flag is set to false (skip), call the return function to stop the execution of remaining actions.
In other trigger, the one responsible for cine skipping, respond to ESC event and set flag accordingly.
return
inside of an if-then-else block does end the trigger (function) it is placed in. If-then-else blocks are not isolated to their own functions in GUI. You are thinking of looping over units, players, destructables, or items.Using the "Skip Remaining Actions"return
inside of an if-then-else block does end the trigger (function) it is placed in. If-then-else blocks are not isolated to their own functions in GUI. You are thinking of looping over units, players, destructables, or items.