You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MicroBlaster edited this page Sep 21, 2019
·
1 revision
Purpose: Terminates all triggers in the script and its included subroutines.
Syntax: killAllTriggers
Notes: Be careful with this command, especially if you are writing a subroutine that may need to preserve triggers already existing when the subroutine was called. It is always better to specifically terminate triggers using the "killTrigger" command if you know the ones that are active, instead of just killing all of them.
A good example of where this command could be used is in the disconnection handler of a script. Scripts should terminate their triggers if they are disconnected from the server, as they will likely re-enter the game in a completely different state.