(Official) LUA Scripting Documentation
set_waypoint
Set a waypoint for the context player.
Spec:
set_waypoint(
long x,
long z)
Parameters
x
: The x component of the map pointz
: The z component of the map point
Example
set_waypoint(150, 75)
Sets the player’s waypoint to 150, 75. No Y is needed due to waypoints not having a height value.
Incomplete
This documentation is incomplete