MoveTo x:Int, y:Int

Move ship to X,Y. This sets a waypoint, and suspends the script until the waypoint has been reached. As a special case, if the waypoint is in a warp well, the script continues when the planet has been reached.

Example:

  MoveTo 1240, 1500
  MoveTo 1400, 1520

This will move the ship to (1240,1500) and then to (1400,1520).

This command is intended to be used in auto tasks.

Since: PCC 1.0.6, PCC2 1.99.10

See also: Stop, Ship Commands