waypointCombatMode: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +(\[[a-zA-Z0-9_, ]+\]);?<\/code>" to "<sqf>$1 $2;</sqf>")
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 19: Line 19:
|s1= [[waypointCombatMode]] waypoint
|s1= [[waypointCombatMode]] waypoint


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


|r1= [[String]] - One of "BLUE", "GREEN", "WHITE", "YELLOW" and "RED" or "ERROR"
|r1= [[String]] - one of "BLUE", "GREEN", "WHITE", "YELLOW" and "RED" or "ERROR"


|x1= <sqf>waypointCombatMode [groupOne, 1];</sqf>
|x1= <sqf>waypointCombatMode [groupOne, 1];</sqf>


|seealso= [[Combat Modes]] [[waypoints]], [[setWaypointCombatMode]]
|seealso= [[Combat Modes]] [[waypoints]] [[setWaypointCombatMode]]
}}
}}

Latest revision as of 01:57, 3 January 2026

Hover & click on the images for description

Description

Description:
Gets the waypoint's combat mode setting.
Groups:
Waypoints

Syntax

Syntax:
waypointCombatMode waypoint
Parameters:
waypoint: Waypoint
Return Value:
String - one of "BLUE", "GREEN", "WHITE", "YELLOW" and "RED" or "ERROR"

Examples

Example 1:
waypointCombatMode [groupOne, 1];

Additional Information

See also:
Combat Modes waypoints setWaypointCombatMode

Notes

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