Ok so I got some basic stuff working (health bar + hp)
https://gyazo.com/5d91598c698bd152847663eb94bc0b66
But as you can see the scaling is a bit out of whack compared to my regular unit frames (player frame can be seen on the bottom left) - is this due to me setting a custom UIScale?
Code:
local f = CreateFrame("Frame", nil, UIParent)
f:RegisterEvent("PLAYER_ENTERING_WORLD")
f:SetScript("OnEvent", function(self, event)
UIParent:SetScale(768/1440)
f:UnregisterAllEvents()
end)
Is what I have in another addon since I use a 3440x1440 monitor and I'm trying to achieve pixel-perfection. Do I need to apply the same scale to the nameplates, or is there something else I need to do?
Appreciate any help!