View Single Post
11/25/22, 03:56 PM   #1
CleetusTheDiabeetus
Join Date: Nov 2022
Posts: 2
Nearest Wayshrine to Player

Hello All,

I was looking for some guidance on where to start for creating an AddOn with a UI that displays the closest Wayshrine to a player's position.

I need to:
Determine Player PosX, PosY
Find All Wayshrine Locations
Calculate the closest wayshine from the players location
Output that information to a UI
Where can I pull player position?
Where can I get a list of wayshrines and their locations?

P.S:
I tried looking at the "FasterTravel" AddOn which determines the closest wayshrine to your quest but it was too advanced for me to figure out exactly what the functions they created were doing.

Thank you.
  Reply With Quote