setCombatMode

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Operation Flashpoint version 1.00

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:
groupName setCombatMode mode
Parameters:
groupName: Object or Group
mode: String
Return Value:
Nothing

Examples

Example 1:
_group1 setCombatMode "BLUE"

Additional Information

Multiplayer:
-
See also:
AI Combat Modes, combatMode, behaviour, setBehaviour, skill, setSkill array, CfgAISkill

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Google Ads