GetWaypointLocation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{FuncDescription|Gets the specified waypoint location.}} | {{FuncDescription|Gets the specified waypoint location.}} | ||
{{FuncSyntax|GetWaypointLocation()}} | {{FuncSyntax|GetWaypointLocation(waypointId)}} | ||
{{FuncParameters}} | {{FuncParameters}} |
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)