waypointCombatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(15 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]]
 
|
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16: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