unitCombatMode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
|game1= | |game1= arma3 | ||
|version1= 2.02 | |||
| | |gr1= AI Behaviour | ||
|descr= Gets individual unit's [[Combat Modes|combat mode]]. For more information see [[setUnitCombatMode]]. | |||
|descr= Gets unit's [[Combat Modes|combat mode]] | |||
|s1= [[unitCombatMode]] unit | |s1= [[unitCombatMode]] unit | ||
Line 25: | Line 14: | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= < | |x1= <sqf>unitCombatMode _unit;</sqf> | ||
|seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]] | |seealso= [[setUnitCombatMode]] [[setCombatMode]] [[combatMode]] | ||
}} | }} | ||
Latest revision as of 13:16, 5 May 2022
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