Jump to navigation Jump to search
Hover & click on the images for descriptions
- Return the behaviour of a unit.
- String = behaviour unitName
- unitName: Object
- Return Value:
- String - One of "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".
- Example 1:
_soldier setBehaviour "CARELESS" _b = behaviour _soldierreturns "CARELESS"
- See also:
- AIBehavioursetBehavioursetWaypointBehaviourcombatModesetCombatModeskillsetSkill 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.