Description
Returns trigger statements.
Syntax
triggerStatements trigger
Parameters:
trigger: Object
Returns: Array with [condition, activation, deactivation]
- condition: String
- activation: String - code ran when the trigger is activated
- deactivation: String - code ran when the trigger is deactivated
Examples
Example 1
_statements = triggerStatements someTrigger;
Multiplayer
The trigger could be local or remote but the result returned by this command will be for the trigger statements set up locally on the client that executed the command. See createTrigger for more info.