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 |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{FuncDescription|Gets the specified waypoint location.}} | {{FuncDescription|Gets the specified waypoint location.}} | ||
{{FuncSyntax|GetWaypointLocation()}} | {{FuncSyntax|GetWaypointLocation(waypointId)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue|This function | {{FuncReturnValue|This function gets the waypoint XYZ vector.}} | ||
== Example == | == Example == |
Latest revision as of 11:08, 6 January 2020
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)