{"name":"triggerActivation","operator":null,"title":"triggerActivation","type":"command","url":"https://community.bistudio.com/wiki/triggerActivation","revid":378816,"updated":"2026-06-30T23:55:03Z","groups":["Triggers"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns trigger activation.\n\n> [!IMPORTANT]\n> The trigger could be local or remote but the result returned by this command will be for the trigger activation set up locally on the client that executed the command. See createTrigger for more info.","syntaxes":[{"syntax":"triggerActivation trigger","since":null,"effect":null,"exec":null,"params":[{"name":"trigger","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"trigger: Object"}],"returns":{"type":"Array with [by, type, repeating, persistent]","types":["Array"],"description":"by: String - See setTriggerActivation - type: String - See setTriggerActivation - repeating: Boolean - See setTriggerActivation - persistent: Boolean Arma 3 v2.24 - See setTriggerActivation","text":"Array with [by, type, repeating, persistent]\n- by: String - See setTriggerActivation\n- type: String - See setTriggerActivation\n- repeating: Boolean - See setTriggerActivation\n- persistent: Boolean Arma 3 v2.24 - See setTriggerActivation"},"form":"unary","operator":null,"left":null,"right":{"text":"trigger","types":["Object"]}}],"examples":[{"text":"```sqf\n_activation = triggerActivation someTrigger;\n```","code":["_activation = triggerActivation someTrigger;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setTriggerActivation","triggerActivated","triggerInterval","setTriggerInterval","enableSimulation","simulationEnabled"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Triggers","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}