Arma 3 Scripting

behaviour

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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