best way to do this is turn it on and off with a boolean global variable.......
create global boolean variable (triggerbusy) = false
events
some event
conditions
triggerbusy = false
actions
set triggerbusy = true
do stuff
set triggerbusy = false
this will prevent multiple instances of the trigger from running at the same time.
You can also determine if if the trigger is running from other trigger or actions using this method which you may or may not need.
very similiar to turning the triggering on and off once it has started as well.
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
best way to do this is turn it on and off with a boolean global variable.......
create global boolean variable (triggerbusy) = false
this will prevent multiple instances of the trigger from running at the same time. You can also determine if if the trigger is running from other trigger or actions using this method which you may or may not need.
very similiar to turning the triggering on and off once it has started as well.