• Adds an action to be called when the given trigger is fired through registered events or through TriggerExecute.

    Parameters

    Returns TriggerAction

    Note

    More than one action can be added to the trigger. The actions run in the order they were added.

    Note

    The same function can be used more than once on the same trigger.

    Note

    Actions wait for their forerunner to finish. So if there are TriggerSleepActions, subsequent actions will be delayed accordingly.

    Note

    If an action execution crashes, subsequent actions will be unaffected and still be called.

    Bug

    If an action execution crashes after a TriggerSleepAction in the same action execution, subsequent actions will not be run.

    Note

    New actions added to the trigger during the execution of the actions won't be subject for execution for this run.

Generated using TypeDoc