Difference between revisions of "behaviour"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 4: Line 4:
 
[[Category:Scripting Commands ArmA|B]]
 
[[Category:Scripting Commands ArmA|B]]
  
back to [[Scripting_Reference#B|COMREF]]
 
  
 
<h2 style="color:#000066"> '''behaviour ''unit'''''</h2>
 
<h2 style="color:#000066"> '''behaviour ''unit'''''</h2>

Revision as of 11:32, 23 April 2006


behaviour unit


Operand types:

unit: Object

Type of returned value:

String

Description:

Behaviour mode of given unit.

Possible options are:

  • "CARELESS"
  • "SAFE"
  • "AWARE"
  • "COMBAT"
  • "STEALTH"


Example:

_mood = behaviour player