Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-08-06, 12:27 PM   #1
thejoester
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 10
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);
and I get the error
attempt to index global MessageFrame' (a nil value)
any ideas what I am doing wrong?

Last edited by thejoester : 08-08-06 at 02:18 PM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Displaying text on screen...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off