Script_Coords (fixed lat/long mix-up)

Author Topic: Script_Coords (fixed lat/long mix-up)  (Read 1959 times)

As the title states, this mod allows you to view your position in any server with this add-on installed.
Usage: /coords (toggles coordinates on and off)
I made this so you can share your coordinates with friends, and have them get there without having to fetch them. Also good for quests and whatnot.
Download
« Last Edit: May 29, 2015, 06:03:15 PM by -Setro- »

I feel it's a bit of a stretch to call this latitude and longitude since both of those are measured in degrees, not raw distance units.

Also I think you might have latitude and longitude mixed up.

Latitude is north/south, Longitude is east/west.

I feel it's a bit of a stretch to call this latitude and longitude since both of those are measured in degrees, not raw distance units.

Also I think you might have latitude and longitude mixed up.

Latitude is north/south, Longitude is east/west.
According to my compass mod, the latitude in this is north/south.
Either way, however, it can still be used accurately to find locations.

I feel it's a bit of a stretch to call this latitude and longitude since both of those are measured in degrees, not raw distance units.

Also I think you might have latitude and longitude mixed up.

Latitude is north/south, Longitude is east/west.
gg another sub-par quality addon by setro.

« Last Edit: May 29, 2015, 03:00:22 PM by Ipquarx »

I have fixed the mix-up.
What's funny is I even looked up what latitude and longitude was before I coded this. Silly me.


but why not client sided

but why not client sided
Wasn't too sure of how to get positions client-sided

i'm probably being a dumbass but isn't it just serverConnection.player.getPosition()?

i'm probably being a dumbass but isn't it just serverConnection.player.getPosition()?
serverConnection.getControlObject().getPosition()

serverConnection.getControlObject().getPosition()
i was positive there was something else

serverConnection.getControlObject().getPosition()
i was positive there was something else
could use getTransform(); instead
Also returns rotation of said object. Useful for mini-map stuffs