{"name":"setTriggerActivation","title":"setTriggerActivation","type":"command","url":"https://community.bistudio.com/wiki/setTriggerActivation","revid":378817,"updated":"2026-07-01T00:11:02Z","groups":["Triggers"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Defines the trigger activation type.\n\nSee ArmA:Mission Editor - Triggers for a thorough overview of triggers and its fields for activation, effects, etc.","syntaxes":[{"syntax":"trigger setTriggerActivation [by, type, repeating, persistent]","params":[{"name":"trigger","type":"Object","description":"trigger object","type_expr":"Object"},{"name":"by","type":"String","description":"who activates trigger. Can be `\"NONE\"`, or:\n\n| Side | Radio | Object | Status |\n|---|---|---|---|\n| - `\"EAST\"`<br>- `\"WEST\"`<br>- `\"GUER\"`<br>- `\"CIV\"`<br>- `\"LOGIC\"`<br>- `\"ANY\"`<br>- Arma 3 v1.68 `\"ANYPLAYER\"` | - `\"ALPHA\"`<br>- `\"BRAVO\"`<br>- `\"CHARLIE\"`<br>- `\"DELTA\"`<br>- `\"ECHO\"`<br>- `\"FOXTROT\"`<br>- `\"GOLF\"`<br>- `\"HOTEL\"`<br>- `\"INDIA\"`<br>- `\"JULIET\"` | - `\"STATIC\"`<br>- `\"VEHICLE\"`<br>- `\"GROUP\"`<br>- `\"LEADER\"`<br>- `\"MEMBER\"` | - `\"WEST SEIZED\"`<br>- `\"EAST SEIZED\"`<br>- `\"GUER SEIZED\"` |","type_expr":"String"},{"name":"type","type":"String","description":"how trigger is it activated. Can be:\n\n| Presence | Detection |\n|---|---|\n| - `\"PRESENT\"`<br>- `\"NOT PRESENT\"` | - `\"WEST D\"`<br>- `\"EAST D\"`<br>- `\"GUER D\"`<br>- `\"CIV D\"` |","type_expr":"String"},{"name":"repeating","type":"Boolean","description":"activation can happen repeatedly","type_expr":"Boolean"},{"name":"persistent","type":"Boolean","optional":true,"default":"true","description":"when false stops persistent condition execution and vehicle list building on non-repeating trigger; is ignored in radio and repeating triggers.","type_expr":"Boolean","since":"arma3 2.24","text":"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"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"trigger"},"right":{"text":"[by, type, repeating, persistent]"}}],"examples":[{"code":["_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"]}