Displaying text on screen...
I am having trouble displaying text on the screen on certain events. You know how when you Zone, or complete a quest you get colored text on the screen?
How do I do that? I read on WoWWikki and found MessageFrame:AddMessage() but it is not working. Here is the code I used Code:
MessageFrame:AddMessage("Test" , 1.0, 1.0, 1.0, 1.0, 5); Quote:
|
MessageFrame isn't an actual object in the UI, it is an object CLASS. Try DEFAULT_CHAT_FRAME:AddMessage()
|
Thanks for the info... So I need to specify a particular frame name
DEFAULT_CHAT_FRAME will add it to the chat frame window, I want to add it to the screen like when you get EXP, enter a new zone or the yellow text when you get a quest item, something like one of those. is there a list of what frames are available for this? |
Ok, Sorry for the double post but i found something that woked
I used UIErrorsFrame:AddMessage() Now I would like to know if anyone knows how to modify the size and effects I found FontString:SetFont() but anyone know how I use this? thanks for any help! |
All times are GMT -6. The time now is 09:17 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI