setCombatMode
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Set group 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)
Syntax
- Syntax:
- ObjectOrGroup setCombatMode "mode"
- Parameters:
- ObjectOrGroup: Object or Group
- mode: String
- Return Value:
- Nothing
Examples
- Example 1:
_group1 setCombatMode "BLUE"
Additional Information
- Multiplayer:
- Behaviour unknown.

