combatMode

From Bohemia Interactive Community
Revision as of 17:08, 19 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


back to COMREF

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.