View Single Post
09-17-19, 11:13 AM   #7
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
If you just want text to appear on screen like an in-game message/warning would (out of range, etc.), then use the message() function.

(If that's even still in the client... It was deprecated long ago. If that doesn't work, then use UIErrorsFrame:AddMessage("text") - https://wow.gamepedia.com/API_MessageFrame_AddMessage)

If you want to control when it disappears off-screen, then create your own fontstring and show it or change the text as needed.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote