combatBehaviour: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 41: | Line 41: | ||
}} | }} | ||
</dl> | </dl> | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} |
Revision as of 00:32, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Object ManipulationGroups
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - AI unit
- Return Value:
- Return value needed
Alternative Syntax
- Syntax:
- combatBehaviour group
- Parameters:
- group: Group - AI group
- Return Value:
- String - group behaviour, see description
Examples
- Example 1:
unit1 setCombatBehaviour "CARELESS"; combatBehaviour unit1; //"CARELESS"
- Example 2:
group unit1 setCombatBehaviour "SAFE"; combatBehaviour group unit1; //"SAFE"
Additional Information
- See also:
- setCombatBehavioursetBehavioursetBehaviourStrongsetWaypointBehaviourcombatModesetCombatModeskillsetSkill
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