combatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved notes)
Line 30: Line 30:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
Use [[setCombatMode]] to set the combat mode. The definitions of the colours are given under that command.
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):


Use [[setCombatMode]] to set the combat mode. The definitions of the colours are given under that command.
 
 


[[Category:Scripting Commands|COMBATMODE]]
[[Category:Scripting Commands|COMBATMODE]]

Revision as of 16:04, 2 August 2006

Hover & click on the images for description

Description

Description:
Returns the combat mode of the given unit. See setCombatMode for more information about combat modes.
Groups:
Uncategorised

Syntax

Syntax:
combatMode group
Parameters:
group: Object or Group
Return Value:
String - One of "BLUE", "GREEN", "YELLOW" and "RED"

Examples

Example 1:
?((combatMode grp1)=="BLUE") : grp1 setCombatMode "GREEN"

Additional Information

See also:
setCombatMode

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

Notes

Use setCombatMode to set the combat mode. The definitions of the colours are given under that command.

Bottom Section