Originally Posted by
Sylenx
No, only purpose is to change and resize font of BG messages like "Pnutbutter has assaulted the Lumber Mill" , "Horde has taken the Blacksmith" , "Alliance Flag was dropped by Pnutbutter". I tried RaidWarningFrame and RaidBossEmoteFrame but the messages are unaffected. It seems they are filtered in a separate frame but i have no clue in which.
I'm still not sure exactly what you mean. With default UI, those messages only appear in chat frames that are registered for the three chat types you mentioned (BG horde, alliance, neutral). Do you want to change the font & size they're displayed in when they show up in the chat frame, without changing the font/size of other messages in the chat frame? And what do you mean by "filtered"?
The other thing i wanted to change is the size of some Floating Combat text messages. Especially the pvp rank messages after a succesful kill (e.g. "HK: Private") and cc effects from groupmembers (e.g. "Snared", "Rooted", gets really spammy when hunters put ice trap in the middle of an enemy group)
You can use these
Code:
DAMAGE_TEXT_FONT = fontName
CombatTextFont:SetFont(fontName, fontHeight, fontOutline)