sirinsidiator / ESO-LibGPS

https://www.esoui.com/downloads/info601-LibGPS2.html
0 stars 3 forks source link

Simplify RestorePlayerWaypoint with new APIs #2

Closed sirinsidiator closed 4 years ago

sirinsidiator commented 4 years ago

Use SetPlayerWaypointByWorldLocation to reset the original player waypoint without switching maps. Before starting to measure, we need to figure out the waypoint coordinates in the world space with the help of GetUnitWorldPosition, GetMapPlayerPosition and GetMapPlayerWaypoint.

votan73 commented 4 years ago

https://github.com/sirinsidiator/ESO-LibGPS/pull/8