View Single Post
05-03-18, 01:24 AM   #10
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Originally Posted by Seerah View Post
Some people might like the actual coordinates of their party members. You could set waypoints to them, etc.
Sure, thats totally ok.
But in 99% you will use C_Map.GetBestMapForUnit to find the units uiMapId.
You'll alway pass the same unit to both functions.
Coords are updated frequently so I guess its quite an impact if I query
the uiMapId through C_Map.GetBestMapForUnit or if C_Map.GetPlayerMapPosition would do it itself (if I could skip it).
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote