GetWaypointLocation: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Gets the specified waypoint location.}} {{FuncSyntax|GetWaypointLocation()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturn...")
 
No edit summary
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|This function returns a table.}}
{{FuncReturnValue|This function gets the waypoint XYZ vector.}}


== Example ==
== Example ==

Revision as of 11:08, 6 January 2020

GetWaypointLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the specified waypoint location.

Syntax

GetWaypointLocation()

Parameters

  • This function has no parameters.

Return Value

  • This function gets the waypoint XYZ vector.

Example

local x, y, z = GetWaypointLocation(waypointId)

See also