Afaik you cannot do this as the unitTag of the enemies in combat might be different but their names won't be always different. You don't know which enemy is which.
And in the past we were not able to get the coordinates (x,y,z) for another unittag except if they are grouped with us (addons like Provisions Team Formation of Papa Crown or Votans Group Pins used it I think. Maybe this changed but if not I don't see any chance to achieve your goal.
I always wanted to have custom markers on the enemies or group members buit the API is not able to succeed completely as it seems.
@others:
Please correct me if I'm wrong and we are able to meanwhile. Thanks
|