{"name":"BIS_fnc_sceneSetBehaviour","title":"BIS fnc sceneSetBehaviour","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_sceneSetBehaviour","revid":349150,"updated":"2023-11-08T14:49:48Z","groups":["Scenes"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Enables / disables a specific set of AI units, usable for cutscenes.","syntaxes":[{"syntax":"param call BIS_fnc_sceneSetBehaviour","params":[{"name":"String","description":"string to toggle AI (\"enableAI\",\"disableAI\")","type_expr":"String"},{"name":"Array","description":"AI units that should be affected by function.","type_expr":"Array"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[\"disableAI\", [unit1, player, unit2, unit3]] call BIS_fnc_sceneSetBehaviour;"]}],"see_also":["disableAI","enableAI","enableSimulation"]}