If an action execution crashes after a
TriggerSleepActionin the same action execution, subsequent actions will not be run.
Adds an action to be called when the given trigger is fired through registered events or through
New actions added to the trigger during the execution of the actions won't be subject for execution for this run.
If an action execution crashes, subsequent actions will be unaffected and still be called.
Actions wait for their forerunner to finish. So if there are
TriggerSleepActions, subsequent actions will be delayed accordingly.
The same function can be used more than once on the same trigger.
More than one action can be added to the trigger. The actions run in the order they were added.
- return type
- Source code
native TriggerAddAction takes trigger whichTrigger, code actionFunc returns triggeraction