Quantcast WoWInterface - View Single Post - Nameplate hacking and unit IDs
View Single Post
05-23-16, 10:24 AM   #36
A Pyroguard Emberseer
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,739
Resike that has to work. Otherwise you found a bug.

*edit* Tried it. Works both ways.

/run print(UnitIsUnit("nameplate3","target")) --returns true
/run print(UnitIsUnit("target","nameplate3")) --returns true
/run print(C_NamePlate.GetNamePlateForUnit("nameplate3"):GetName()) --returns NamePlate3
/run print(C_NamePlate.GetNamePlateForUnit("target"):GetName()) --returns NamePlate3
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 05-23-16 at 10:35 AM.