View Single Post
11-19-19, 02:40 AM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Looks like more modern version trickery. Try replacing that block with this instead.
Lua Code:
  1. --  Move nametag
  2. hooksecurefunc("DefaultCompactNamePlateFrameAnchorInternal",function(frame)
  3.     frame.name:ClearAllPoints();--  Clear nametag anchors
  4.     PixelUtil.SetPoint(frame.name,"BOTTOM",frame.healthBar,"TOP",0,4);--    Set new anchor
  5. end);
Note: Since the original function uses PixelUtil.SetPoint() to set its position agnostic to scaling. I believe it should be used here too.
__________________
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 : 11-19-19 at 02:45 AM.
  Reply With Quote