{"name":"triggerStatements","title":"triggerStatements","type":"command","url":"https://community.bistudio.com/wiki/triggerStatements","revid":378402,"updated":"2026-04-04T08:11:49Z","groups":["Triggers"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","locality":{"argument":"global"},"description":"Returns trigger statements.","syntaxes":[{"syntax":"triggerStatements trigger","params":[{"name":"trigger","type":"Object","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [condition, activation, deactivation]\n- condition: String - activation: String - code ran when the trigger is activated - deactivation: String - code ran when the trigger is deactivated","text":"Array with [condition, activation, deactivation]\n\n- condition: String\n- activation: String - code ran when the trigger is activated\n- deactivation: String - code ran when the trigger is deactivated"},"form":"unary","right":{"text":"trigger"}}],"examples":[{"code":["_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.","see_also":["setTriggerStatements"]}