The new Cooldown Text
Hello there
I've looked at the new cooldown text display for auras and actionbuttons. I've noticed that you can hide them for a specific cooldown (SetHideCountdownNumbers()), but is there a way to modify it? Like setting the font, position and text formatting? I looked at the Blizzard Interface Code, but didn't find where they actually handled the cooldown text so i guess it's controlled deeper down somewhere. |
Doeshttp://wowprogramming.com/docs/widgets/Frame/GetRegions return the fontstring object?
[e] Tried it. Code:
/script local t = ActionButton1Cooldown:GetRegions() for i, v in pairs(t) do if t.GetText and t:GetText()then print(i, t:GetText()) t:SetFontObject("SystemFont_Tiny") end end Seems as the cooldown frame/number is created on the fly. So don't forget to check if it exists before doing something. |
Quote:
Edit: Damn, that's quick! I'm still waiting for it to patch. But yeah, Thanks for the help! I'll probably get it to do what i want now. Edit2: I think it's only the parent frame that's created on the fly though, like auras and stuff. |
All times are GMT -6. The time now is 03:46 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI