setTriggerStatements
Jump to navigation
Jump to search
Description
- Description:
- This command provides hooks for conditioning a trigger with custom functions/scripts. Three hooks are provided: controlling (1) when the trigger will be activated, (2) what to do when the trigger activates, and (3) what to do when the trigger deactivates. Two variables are of concern: this contains the boolean return value of the trigger's condition (e.g. "East Not Present"); thisList provides an array containing all units which are currently causing activation.
- Groups:
- Uncategorised
Syntax
- Syntax:
- trigger setTriggerStatements [condition, activation, deactivation]
- Parameters:
- trigger: Object
- [condition, activation, deactivation]: Array
- condition: String
- activation: String
- deactivation: String
- Return Value:
- Nothing
Examples
Additional Information
- See also:
- createTriggersetTriggerActivationsetTriggerAreasetTriggerTextsetTriggerTimeoutsetTriggerTypethis
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note