waypointCombatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(11 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
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= Waypoints
|gr1= Waypoints


| Gets the waypoint combat mode.
|descr= Gets the waypoint's combat mode setting.


| '''waypointCombatMode''' waypoint
|s1= [[waypointCombatMode]] waypoint


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


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


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


|x1= <code>waypointCombatMode [groupOne,1]</code>
|seealso= [[Combat Modes]] [[waypoints]] [[setWaypointCombatMode]]
 
| [[Mission_Editor:_Waypoints#Combat_Mode|combat mode description]], [[ArmA:_AI_Combat_Modes|AI 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 15:44, 8 November 2023

Hover & click on the images for description

Description

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

Syntax

Syntax:
waypointCombatMode waypoint
Parameters:
waypoint: Array - format 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 or on the Forums.
Only post proven facts here! Add Note