GetWaypointLocation

From Onset Developer Wiki
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