View Single Post
Unread 10-27-12, 05:22 AM   #1
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,363
PTR 5.1 nameplate changes

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:
  1. --full nameplate objects
  2.     local f = NamePlate1 --nameplateframe
  3.     f.barFrame, f.nameFrame = f:GetChildren()
  4.     f.barFrame.threat, f.barFrame.border, f.barFrame.highlight, f.barFrame.level, f.barFrame.boss, f.barFrame.raid, f.barFrame.dragon = f.barFrame:GetRegions()
  5.     f.nameFrame.name = f.nameFrame:GetRegions()
  6.     f.barFrame.healthbar, f.barFrame.castbar = f.barFrame:GetChildren()
  7.     f.barFrame.healthbar.texture =  f.barFrame.healthbar:GetRegions()
  8.     f.barFrame.castbar.texture, f.barFrame.castbar.border, f.barFrame.castbar.shield, f.barFrame.castbar.icon =  f.barFrame.castbar:GetRegions()
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 10-27-12 at 08:35 AM.
zork is online now