View Single Post
04/12/19, 02:21 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,973
The group (party) members got tags like you got "player", they will be group1, group2 etc.
Maybe it works with GetMapPlayerPosition(groupN) then.

btw: there are already addons calculating the distance to something, maybe you can inspect them to learn how it is done. WAypointIt I think shows the distance to a waypoint you have set (if I remember correctly).
  Reply With Quote