Description
Returns the behaviour of the individual unit, this is why it only accepts Object as the argument. For Arma 3 behaviour explanation see Arma_3_AI_Behavior
Syntax
behaviour unit
Parameters:
unit: Object
Returns: String - one of:
- "CARELESS"
- "SAFE"
- "AWARE"
- "COMBAT"
- "STEALTH"
- "ERROR" (Since Arma 3 v1.78 when used on empty vehicles and such)
Examples
Example 1
_soldier setBehaviour "CARELESS";
_b = behaviour _soldier; // returns "CARELESS"
See also
AIBehaviour · setBehaviour · setWaypointBehaviour · combatMode · setCombatMode · skill · setSkill · Arma 3: AI Skill · setCombatBehaviour · combatBehaviour