Arma 3 Scripting

Command in AI Behaviour

behaviour

Also available as Markdown and JSON, or read the original wiki page.

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:

Returns: String - one of:

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