unitCombatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>")
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|game1= arma3dev |Game name=
|game1= arma3
|version1= 2.02


|version= 2.01 |Game version=
|gr1= AI Behaviour


|arg= |Multiplayer Arguments ("local" or "global")=
|descr= Gets individual unit's [[Combat Modes|combat mode]]. For more information see [[setUnitCombatMode]].


|eff=  |Multiplayer Effects ("local" or "global")=
|s1= [[unitCombatMode]] unit


|serverExec=  |Multiplayer Execution ("server" or empty)=
|p1= unit: [[Object]]


|gr1= Unit Control |GROUP1=
|r1= [[String]]
____________________________________________________________________________________________


|descr= Gets unit's [[Combat Modes|combat mode]] |Description=
|x1= <sqf>unitCombatMode _unit;</sqf>


|mp= |Multiplayer Behaviour=
|seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]]
 
|pr= |Problems=
____________________________________________________________________________________________
 
|s1= [[unitCombatMode]] unit |Syntax=
 
|p1= unit: [[Object]] |Parameter 1=
 
|r1= [[String]] |Return Value=
____________________________________________________________________________________________
 
|x1= <code>[[unitCombatMode]] _unit</code> |Example 1=
____________________________________________________________________________________________
 
|seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]] |See Also=
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

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