View Single Post
04-27-22, 08:46 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
There isn't a way to get a unit's level directly from a GUID, you need a UnitID. You can try to cache data using target, nameplates, and mouseover along with watching UNIT_TARGET events for party/raid targets. The only problem is memory management and deciding how long to hold on to such data.

Note: Focus was left out of the list because the unit has to be accessible from any of the others in order for it to be set.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 04-27-22 at 08:52 PM.
  Reply With Quote