Evening all.
I am fiddling around a bit with a SpellAlert-type mod and chose to make use of the MessageFrame widget which has a built-in fadeout and showtime for messages sent via it.
According to Wowwiki this widget inherits functions from UIObject, FontInstance, Region and Frame. Great, I thought, that will make it easy to customize which font I'd like to use.
But then, confusion struck.
Code:
buffFrame:SetFont("Fonts\\FRIZQT__.TTF", 18, "OUTLINE")
This shows up on screen when I do buffFrame:AddMessage("Boofies!")
But neither of these show up on screen when sending a message to my frame. Why?
Code:
buffFrame:SetFontObject(GameFontNormal)
buffFrame:SetFont("Interface\\AddOns\\FolderOfFonts\\Fontname.ttf", 18, "OUTLINE")
I'd like to have another font than the ugly FRIZQT. And I've made sure the filename is corret.
Anyone have any idea? Or should I just go with a standard frame and make my own fading?
Thanks in advance!
/Ailae