waypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "‎" to "")
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 16: Line 16:


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


Type can be:
|s1= [[waypointType]] waypoint
* "MOVE"
* "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 [[Waypoints]].
 
|s1=  '''waypointType''' waypoint


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


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


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


|seealso= [[Mission_Editor:_Waypoints#Select_Type|waypoints description]], [[Waypoints]], [[waypoints]], [[setWaypointType]]
|seealso= [[Mission Editor: Waypoints#Select Type|waypoints description]] [[Waypoints]] [[waypoints]] [[setWaypointType]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
<dl class="command_description">
<dt></dt>
<dd class="notedate">Posted on August 6, 2015 - 16:57 (UTC)</dd>
<dt class="note">[[User:Ghost77788|Ghost77788]]</dt>
<dd class="note">
With the new sling loading in Arma 3, 2 new waypoint types are added aswell being:
  Drop Cargo and Lift Cargo.
The names for these 2 waypoints are:
  "UNHOOK" and "HOOK".
</dd>
<dt><dt>
<dd class="notedate">Posted on July 30, 2020 - 09:14 (UTC)</dd>
<dt class="note">[[User:fusselwurm|fusselwurm]]</dt>
<dd class="note">
Returns empty string if passed waypoint does not exist.
</dd>
</dl>

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