combatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 25: Line 25:


_cMode = '''combatMode''' [[group]] [[player]]
_cMode = '''combatMode''' [[group]] [[player]]
'''Comments:'''
Use [[setCombatMode]]  to set the combat mode.
The definitions of the colours are given under that command.

Revision as of 16:38, 16 April 2006

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.