Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.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