unitCombatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|version1= 2.02
|version1= 2.02


|arg=
|gr1= AI Behaviour
 
|eff=
 
|serverExec=
 
|gr1= Unit Control


|descr= Gets individual unit's [[Combat Modes|combat mode]]. For more information see [[setUnitCombatMode]].
|descr= Gets individual unit's [[Combat Modes|combat mode]]. For more information see [[setUnitCombatMode]].
|mp=
|pr=


|s1= [[unitCombatMode]] unit
|s1= [[unitCombatMode]] unit
Line 24: Line 14:
|r1= [[String]]
|r1= [[String]]


|x1= <code>[[unitCombatMode]] _unit</code>
|x1= <sqf>unitCombatMode _unit;</sqf>


|seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]]
|seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]]
}}
}}

Latest revision as of 13:16, 5 May 2022

Hover & click on the images for description

Description

Description:
Gets individual unit's combat mode. For more information see setUnitCombatMode.
Groups:
AI Behaviour

Syntax

Syntax:
unitCombatMode unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
unitCombatMode _unit;

Additional Information

See also:
setUnitCombatMode setCombatMode combatMode

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