behaviour
Jump to navigation
Jump to search
Hover & click on the images for descriptions
Description
- Description:
- Return the behaviour of a unit.
Syntax
- Syntax:
- behaviour unit
- Parameters:
- unit: Object
- Return Value:
- String - One of "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".
Examples
- Example 1:
-
soldier setBehaviour "CARELESS" _b = behaviour soldier
returns "CARELESS"
Additional Information
- See also:
- setBehaviour
- Groups:
- Uncategorised
Notes
Notes
Bottom Section
Categories:
- Pages using duplicate arguments in template calls
- Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Introduced with Operation Flashpoint version 1.00
- Commands utilizing global arguments
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Object Information
- Command Group: Unit Control