waypointCombatMode: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " {3,}\|" to " |")
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50


|gr1= Waypoints
|game3= tkoh
|version3= 1.00


| Gets the waypoint combat mode.
|game4= arma3
|version4= 0.50


| '''waypointCombatMode''' waypoint
|gr1= Waypoints


|p1= waypoint: [[Array]] - format [[Waypoint]]
|descr= Gets the waypoint's combat mode setting.


|p2=
|s1= [[waypointCombatMode]] waypoint


|p3=
|p1= waypoint: [[Waypoint]]


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


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


| [[Mission_Editor:_Waypoints#Combat_Mode|combat mode description]], [[ArmA:_AI_Combat_Modes|AI Combat Modes]], [[waypoints]], [[setWaypointCombatMode]]
|seealso= [[Combat Modes]] [[waypoints]] [[setWaypointCombatMode]]
 
|
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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