GetWaypointLocation

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GetWaypointLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the specified waypoint location.

Syntax

GetWaypointLocation(waypointId)

Parameters

  • This function has no parameters.

Return Value

  • This function gets the waypoint XYZ vector.

Example

local x, y, z = GetWaypointLocation(waypointId)

See also