combatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|C]]
[[Category:Scripting Commands|COMBATMODE]]
[[Category:Scripting Commands OFP 1.97|C]]
[[Category:Scripting Commands OFP 1.97|COMBATMODE]]
[[Category:Scripting Commands OFP 1.46|C]]
[[Category:Scripting Commands OFP 1.46|COMBATMODE]]
[[Category:Scripting Commands ArmA|C]]
[[Category:Scripting Commands ArmA|COMBATMODE]]





Revision as of 13:36, 4 May 2006


combatMode grp


Operand types:

grp: Object or Group

Type of returned value:

String

Description:

Combat mode of given unit or group:

  • "BLUE"
  • "GREEN"
  • "YELLOW"
  • "RED"


Example:

_cMode = combatMode group player


Comments:

Use setCombatMode to set the combat mode.

The definitions of the colours are given under that command.