waypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added parameter)
m (Text replacement - "‎" to "")
 
(56 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Gets the waypoint type.
|game3= tkoh
|version3= 1.00


Type can be:
|game4= arma3
* "MOVE"
|version4= 0.50
* "DESTROY"
* "GETIN"
* "SAD"
* "JOIN"
* "LEADER"
* "GETOUT"
* "CYCLE"
* "LOAD"
* "UNLOAD"
* "TR UNLOAD"
* "HOLD"
* "SENTRY"
* "GUARD"
* "TALK"
* "SCRIPTED"
* "SUPPORT"
* "GETIN NEAREST"
* "DISMISS"
* "AND"
* "OR"


More details at [[Waypoint types]].
|gr1= Waypoints
|= Description
____________________________________________________________________________________________


| '''waypointType''' waypoint |= Syntax
|descr= Gets the waypoint type.
{{Feature|informative|See {{Link|Waypoints#Waypoint Types}} for more information.}}


|p1= waypoint:  [[Array]] - format [[Waypoint]]  |= PARAMETER1
|s1= [[waypointType]] waypoint


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


|p3= |= PARAMETER3
|r1= [[String]] - returns {{hl|""}} if the waypoint doesn't exist.


| [[String]] |= RETURNVALUE
|x1= <sqf>private _type = waypointType [groupOne, 1];</sqf>


 
|seealso= [[Mission Editor: Waypoints#Select Type|waypoints description]] [[Waypoints]] [[waypoints]] [[setWaypointType]]
|x1= <code>[[waypointType]] [groupOne,1],
</code>|= EXAMPLE1
 
____________________________________________________________________________________________
 
| [[Mission_Editor:_Waypoints#Select_Type|waypoints description]], [[Waypoint types]], [[waypoints]], [[setWaypointType]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:54, 26 April 2023

Hover & click on the images for description

Description

Description:
Gets the waypoint type.
See Waypoints - Waypoint Types for more information.
Groups:
Waypoints

Syntax

Syntax:
waypointType waypoint
Parameters:
waypoint: Array - format Waypoint
Return Value:
String - returns "" if the waypoint doesn't exist.

Examples

Example 1:
private _type = waypointType [groupOne, 1];

Additional Information

See also:
waypoints description Waypoints waypoints setWaypointType

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