Difference between revisions of "setCombatBehaviour"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "|2.03 " to "| 2.04 ")
Line 3: Line 3:
 
| Arma3dev
 
| Arma3dev
  
|2.03
+
| 2.04
  
 
|arg= local
 
|arg= local

Revision as of 14:32, 27 April 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object ManipulationGroups

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - AI unit
behaviour: String - see description
Return Value:
Return value needed

Alternative Syntax

Syntax:
group setCombatBehaviour behaviour
Parameters:
group: Group - AI group
behaviour: String - see description
Return Value:
Nothing

Examples

Example 1:
unit1 setCombatBehaviour "SAFE";
Example 2:
group1 setCombatBehaviour "CARELESS";

Additional Information

See also:
AIBehaviourcombatBehaviourbehavioursetBehavioursetBehaviourStrongsetWaypointBehaviourcombatModesetCombatModeskillsetSkill

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