combatMode

From Bohemia Interactive Community
Revision as of 12:42, 23 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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.