From Bohemia Interactive Community
Click on the images for descriptions
- Operation Flashpoint
- Return the behaviour of a unit. For Arma 3 behaviour explanation see Arma_3_AI_Behavior
- behaviour unitName
- unitName: Object
- Return Value:
- String - One of "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".
- Example 1:
_soldier setBehaviour "CARELESS"; _b = behaviour _soldier; //returns "CARELESS"
- See also:
- behaviour descriptionAIBehavioursetBehavioursetWaypointBehaviourcombatModesetCombatModeskillsetSkill arrayCfgAISkill
- Posted on 14 Feb 2010
- Although behaviour is called on an individual unit, what you are really getting back is the behaviour of that unit's group. Behaviour is a group setting.