View Single Post
11-19-19, 10:17 AM   #9
Mandraxon
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Jul 2009
Posts: 21
Originally Posted by SDPhantom View Post
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.

That did it.
Awsome, Thanks alot.

The only issue i need to work out now is the debuff location and size.
why did blizz set them so far of?
if you have any code for that id be most happy.
This is how it looks now

Last edited by Mandraxon : 11-19-19 at 10:22 AM.
  Reply With Quote