Has anyone tried the PTR yet? The nameplates got changed again.
Plus tiny mobs get "tiny" nameplates now which looks awful imo.
Code:
NamePlate
2 Chilren, 0 Regions
-- Child A (FRAME)
2 Children
7 Regions
-- Child AA (Statusbar)
0 Children
1 Region
-- Child AB (Statusbar)
0 Childen
4 Regions
-- Child B (Frame)
0 Children
1 Region
Lua Code:
--full nameplate objects
local f = NamePlate1 --nameplateframe
f.barFrame, f.nameFrame = f:GetChildren()
f.barFrame.threat, f.barFrame.border, f.barFrame.highlight, f.barFrame.level, f.barFrame.boss, f.barFrame.raid, f.barFrame.dragon = f.barFrame:GetRegions()
f.nameFrame.name = f.nameFrame:GetRegions()
f.barFrame.healthbar, f.barFrame.castbar = f.barFrame:GetChildren()
f.barFrame.healthbar.texture = f.barFrame.healthbar:GetRegions()
f.barFrame.castbar.texture, f.barFrame.castbar.border, f.barFrame.castbar.shield, f.barFrame.castbar.icon = f.barFrame.castbar:GetRegions()