Warning: file_put_contents(/ff_05bf7cc62206d39e94f67752c47ef4b7480f73dd0711ad3c.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setCombatMode - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"

Advertisement