setWaypointCombatMode: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
mNo edit summary
 
Line 22: Line 22:
|s1= waypoint [[setWaypointCombatMode]] mode
|s1= waypoint [[setWaypointCombatMode]] mode


|p1= waypoint: [[Array]] - format [[Waypoint]]
|p1= waypoint: [[Waypoint]]


|p2= mode: [[String]] - can be:
|p2= mode: [[String]] - can be:

Latest revision as of 01:58, 3 January 2026

Hover & click on the images for description

Description

Description:
Changes a group's combat mode when the waypoint becomes active.
Groups:
Waypoints

Syntax

Syntax:
waypoint setWaypointCombatMode mode
Parameters:
waypoint: Waypoint
mode: String - can be:
  • "NO CHANGE"
  • "BLUE"
  • "GREEN"
  • "WHITE"
  • "YELLOW"
  • "RED"
Return Value:
Nothing

Examples

Example 1:
[_grp, 2] setWaypointCombatMode "RED";

Additional Information

See also:
Combat Modes setWaypointBehaviour

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note