combatMode: Difference between revisions

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

Revision as of 20:03, 1 June 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.