combatBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |Arma3dev |2.03 |arg= global |eff= |gr1= Object Manipulation |gr2= Groups | Returns combat behaviour of unit or group. To set unit or group behaviour s...")
 
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 38: Line 38:
[[combatBehaviour]] group unit1; //"SAFE"</code>
[[combatBehaviour]] group unit1; //"SAFE"</code>


| [[setCombatBehaviour]], [[setBehaviour]], [[setBehaviourStrong]], [[setWaypointBehaviour]], [[combatMode]], [[setCombatMode]], [[skill]], [[setSkill]]
|seealso= [[setCombatBehaviour]], [[setBehaviour]], [[setBehaviourStrong]], [[setWaypointBehaviour]], [[combatMode]], [[setCombatMode]], [[skill]], [[setSkill]]
}}
}}



Revision as of 00:28, 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
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