waypointType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 24: Line 24:
|r1= [[String]] - returns {{hl|""}} if the waypoint doesn't exist.
|r1= [[String]] - returns {{hl|""}} if the waypoint doesn't exist.


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


|seealso= ‎[[Mission Editor: Waypoints#Select Type|waypoints description]], [[Waypoints]], [[waypoints]], [[setWaypointType]]
|seealso= ‎[[Mission Editor: Waypoints#Select Type|waypoints description]], [[Waypoints]], [[waypoints]], [[setWaypointType]]
}}
}}

Revision as of 10:25, 13 May 2022

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 descriptionWaypointswaypointssetWaypointType

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