View Single Post
04-29-18, 06:02 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
The only way I can think of is check the tooltip for a mouseover unit when it pops up and query it for a UnitGUID(). This is if the game triggers the tooltip with tooltip:SetUnit() instead of just tooltip:SetText() internally. It does this with some objects, but not all.

You may also check on events such as UPDATE_MOUSEOVER_UNIT.
__________________
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-29-18 at 06:08 PM.
  Reply With Quote