Originally Posted by SDPhantom
Oh, right. I forgot the function is called as NamePlateDriverFrame:OnNamePlateCreated(...). I adjusted the argument list in my previous post to fix that.
|
thanks man..
I tested it now and No errors
but the hookpoint does not seam to work
Code:
-- Move nametag
hooksecurefunc(NamePlateDriverFrame,"OnNamePlateCreated",function(_,base)-- Hook nameplate creation function
local unitframe=base.UnitFrame;-- UnitFrame attached to nameplate base
unitframe.name:ClearAllPoints();-- Clear nametag anchors
-- Set new anchor(s) here
unitframe.name:SetPoint("BOTTOM",unitframe.healthBar,"TOP",0,4);
end);
TOP",0,4); i changed both the 0 and 4 and nothing moves =/ even as high as 0,25 and nothing..
/M