{"name":"setBehaviourStrong","operator":null,"title":"setBehaviourStrong","type":"command","url":"https://community.bistudio.com/wiki/setBehaviourStrong","revid":364285,"updated":"2024-05-06T09:38:35Z","groups":["Groups","AI Behaviour"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.92"}],"since":{"game":"arma3","name":"Arma 3","version":"1.92"},"arma3_since":"1.92","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Sets individual unit behaviour on every unit in a group and additionally tries to force this behaviour to the unit's group. Alternatively see setCombatBehaviour.\n\n> [!NOTE]\n> See AI Behaviour for details of the effect of this command on AI units.\n\n| Command | Applies To |\n|---|---|\n| setBehaviour | **Every unit** in the group, but **not the group** itself |\n| setBehaviourStrong | **Every unit** in the group, and the **group** itself |\n| setCombatBehaviour | If argument is Object, only that **unit**, and if argument is Group, the **group** itself (not its units) |","syntaxes":[{"syntax":"groupName setBehaviourStrong behaviour","since":null,"effect":null,"exec":null,"params":[{"name":"groupName","type":"Group or Object","optional":false,"default":null,"description":"unit from the group","types":["Group","Object"],"since":null,"text":"groupName: Group or Object - unit from the group"},{"name":"behaviour","type":"String","optional":false,"default":null,"description":"can be one of:\n- \"CARELESS\"\n- \"SAFE\"\n- \"AWARE\"\n- \"COMBAT\"\n- \"STEALTH\"","types":["String"],"since":null,"text":"behaviour: String - can be one of:\n- \"CARELESS\"\n- \"SAFE\"\n- \"AWARE\"\n- \"COMBAT\"\n- \"STEALTH\""}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"groupName","types":["Group","Object"]},"right":{"text":"behaviour","types":["String"]}}],"examples":[{"text":"```sqf\n_group1 setBehaviourStrong \"SAFE\";\n```","code":["_group1 setBehaviourStrong \"SAFE\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setCombatBehaviour","combatBehaviour","AIBehaviour","behaviour","setBehaviour","setWaypointBehaviour","combatMode","setCombatMode","skill","setSkill","Arma 3: AI Skill"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: AI Behaviour","Command Group: Groups","Introduced with Arma 3 version 1.92","Scripting Commands","Scripting Commands: Global Effect"]}