View Single Post
06-29-21, 04:21 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
I doubt it is possible .. But if there is a way hopefully someone will know it and let you know

https://wowpedia.fandom.com/wiki/API_GetRaidTargetIndex

index = GetRaidTargetIndex(unit)

This appears to be the best option .. but it would still mean hoping someone in the group has them targeted and use something like raid1target as the unit id

There doesn't appear to be any other function related to this except the one that sets the icon to a unit.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote