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 }}")
Line 39: Line 39:
 
|x2= <code>group1 [[setCombatBehaviour]] "CARELESS";</code>
 
|x2= <code>group1 [[setCombatBehaviour]] "CARELESS";</code>
  
| [[AIBehaviour]], [[combatBehaviour]], [[behaviour]], [[setBehaviour]], [[setBehaviourStrong]], [[setWaypointBehaviour]], [[combatMode]], [[setCombatMode]], [[skill]], [[setSkill]]
+
|seealso= [[AIBehaviour]], [[combatBehaviour]], [[behaviour]], [[setBehaviour]], [[setBehaviourStrong]], [[setWaypointBehaviour]], [[combatMode]], [[setCombatMode]], [[skill]], [[setSkill]]
 
}}
 
}}
  
  
 
{{GameCategory|arma3|Scripting Commands}}
 
{{GameCategory|arma3|Scripting Commands}}

Revision as of 00:01, 17 February 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