Quantcast
Print message on the screen - WoWInterface
Thread Tools Display Modes
08-25-15, 09:12 AM   #1
Benalish
A Theradrim Guardian
 
Benalish's Avatar
Join Date: Dec 2012
Posts: 60
Print message on the screen

Hello everyone
After much research on the web about how to print a message on the screen (not in the chat) game I did not find what I was interested. Can you tell me how?

Thank you in advance
  Reply With Quote
08-25-15, 10:00 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,929
There are different ways depending on how you want the message to behave. For example, you can use message() to show a basic popup with your message and an "Okay" button. You can use UIErrorsFrame:AddMessage() if you just want to have text pop up in the middle of your screen. If you want to have text pop up at any determined spot, you'll need to set up a FontString and manage showing/hiding the text yourself.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Print message on the screen

Thread Tools
Display Modes

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