waypointCombatMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|p[0-9]+ *= * )+" to "")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2


|1.00
|version1= 1.00
 
|game2= arma2oa
 
|version2= 1.51
 
|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]]


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


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


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

Revision as of 23:33, 15 April 2021

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:
See also needed

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