ShaguPlates icon indicating copy to clipboard operation
ShaguPlates copied to clipboard

Text of Unit Name vertical offset

Open Macumbafeh opened this issue 1 year ago • 2 comments

Hello,

For TBC, I saw i can move the healthbar vertical offset and that's very great !

Can i move the UnitName offset too? do i missed something or it doesn't exist?

Because bars are on names now, if i move it : / image

Thanks !

Macumbafeh avatar Mar 25 '23 20:03 Macumbafeh

There isn't an option in game but you can do this manually by editing ShaguPlates\modules\nameplates.lua. I don't believe Shagu will change this as moving the name too far up will move it outside of the clickable part of the nameplate (this is limited by the way the default nameplates are designed).

Change: Line 303 to nameplate.name:SetPoint("BOTTOM", nameplate.health, "TOP", 0, 6) Line 426 to nameplate.health:SetPoint("TOP", nameplate, "BOTTOM", 0, healthoffset) The names should then be on top of the healthbar.

GryllsAddons avatar Apr 23 '23 23:04 GryllsAddons

The error should be in line 422 :nameplate:SetPoint("TOP", parent, "TOP", 0, 0)

as5882310 avatar Sep 21 '23 06:09 as5882310