group setCombatMode mode

Operand types

group: Object or Group
mode: String

Type of returned value

Description

Set group/single unit combat mode (engagement rules).
Mode may be one of:
"BLUE" (Never fire)
"GREEN" (Hold fire - defend only)
"WHITE" (Hold fire, engage at will)
"YELLOW" (Fire at will)
"RED" (Fire at will, engage at will)

Used In

OFP/ArmA

Example

group1 setCombatMode "BLUE"
Search OFPEC COMREF