combatMode

From Bohemia Interactive Community
Revision as of 15:38, 16 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.