Difference between revisions of "behaviour"
Jump to navigation
Jump to search
m (Added ArmA2) |
(updated) |
||
Line 48: | Line 48: | ||
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Unit_Control|{{uc:{{PAGENAME}}}}]] | ||
+ | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] |
Revision as of 15:44, 3 June 2009
Hover & click on the images for descriptions
Description
- Description:
- Return the behaviour of a unit.
Syntax
- Syntax:
- String = behaviour unitName
- Parameters:
- unitName: 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
- Scripting Commands ArmA2
- Command Group: Object Information
- Command Group: Unit Control