Description
Defines the trigger activation type.
See ArmA:Mission Editor - Triggers for a thorough overview of triggers and its fields for activation, effects, etc.
Syntax
trigger setTriggerActivation [by, type, repeating, persistent]
Parameters:
-
trigger: Object - trigger object -
by: String - who activates trigger. Can be"NONE", or:Side Radio Object Status - "EAST"
-"WEST"
-"GUER"
-"CIV"
-"LOGIC"
-"ANY"
- Arma 3 v1.68"ANYPLAYER"- "ALPHA"
-"BRAVO"
-"CHARLIE"
-"DELTA"
-"ECHO"
-"FOXTROT"
-"GOLF"
-"HOTEL"
-"INDIA"
-"JULIET"- "STATIC"
-"VEHICLE"
-"GROUP"
-"LEADER"
-"MEMBER"- "WEST SEIZED"
-"EAST SEIZED"
-"GUER SEIZED" -
type: String - how trigger is it activated. Can be:Presence Detection - "PRESENT"
-"NOT PRESENT"- "WEST D"
-"EAST D"
-"GUER D"
-"CIV D" -
repeating: Boolean - activation can happen repeatedly -
persistent (Optional): Boolean - when false stops persistent condition execution and vehicle list building on non-repeating trigger; is ignored in radio and repeating triggers. Default: true (since arma3 2.24)
Returns: Nothing
Examples
Example 1
_trigger setTriggerActivation ["WEST", "EAST D", true];
Multiplayer
Activation changes are local.
See also
triggerActivation · triggerActivated · createTrigger · setTriggerArea · setTriggerStatements · setTriggerText · setTriggerTimeout · setTriggerType · triggerAttachVehicle · triggerAttachObject · triggerInterval · setTriggerInterval · enableSimulation · simulationEnabled