combatBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "|2.03 " to "| 2.04 ")
Line 3: Line 3:
|Arma3dev
|Arma3dev


|2.03
| 2.04


|arg= global
|arg= global

Revision as of 15: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
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