Modding Help Trying to get the coordinate of player's destination

Discussion in 'Starbound Modding' started by xaliber, Aug 8, 2017.

  1. xaliber

    xaliber Scruffy Nerf-Herder

    I've been meddling with the cockpit.lua and trying to find a way to get the coordinate of systems that player clicked.


    Trying to get this Nihal Cluster system's coordinate, for example.

    I tried celestial.shipDestination() and coordinateSystem(toPlanet) but I haven't been successful. I'm trying to output the x and y coordinate on its own.

    Any ideas?

Share This Page