Difference between revisions of "behaviour"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 1: Line 1:
back to [[Scripting_Reference#A|COMREF]]
+
back to [[Scripting_Reference#B|COMREF]]
  
 
<h2 style="color:#000066"> '''behaviour ''unit'''''</h2>
 
<h2 style="color:#000066"> '''behaviour ''unit'''''</h2>

Revision as of 14:36, 15 April 2006

back to COMREF

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