behaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
No edit summary
Line 11: Line 11:
|gr1= Object Manipulation
|gr1= Object Manipulation


| Returns the behaviour of the unit's [[group]]. For Arma 3 behaviour explanation see [[Arma_3_AI_Behavior]]
| 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]]


|  '''behaviour''' unitName
|  '''behaviour''' unitName

Revision as of 12:43, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object
Return Value:
Return value needed

Examples

Example 1:
_soldier setBehaviour "CARELESS"; _b = behaviour _soldier; //returns "CARELESS"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note