ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Looking for a way to display 1 line of text onscreen. (https://www.esoui.com/forums/showthread.php?t=10454)

sinnereso 02/12/23 02:07 PM

Looking for a way to display 1 line of text onscreen.
 
Anyone think of a relatively easy way to display 1 line or a few words on screen? Ive been looking at tools this stuff but cant seem to get it to go onscreen.

CHAT_SYSTEM:AddSystemMessage("what i want to say")

votan 02/12/23 02:41 PM

Lua Code:
  1. local function ShowAnnoucement(text)
  2.     local message = CENTER_SCREEN_ANNOUNCE:CreateMessageParams(CSA_CATEGORY_SMALL_TEXT, SOUNDS.QUEST_OBJECTIVE_INCREMENT)
  3.     message:SetSound(SOUNDS.QUEST_OBJECTIVE_INCREMENT)
  4.     message:SetText(text)
  5.     message:MarkSuppressIconFrame()
  6.     message:MarkShowImmediately()
  7.     CENTER_SCREEN_ANNOUNCE:QueueMessage(message)
  8. end

sinnereso 02/12/23 03:27 PM

Quote:

Originally Posted by votan (Post 47195)
Lua Code:
  1. local function ShowAnnoucement(text)
  2.     local message = CENTER_SCREEN_ANNOUNCE:CreateMessageParams(CSA_CATEGORY_SMALL_TEXT, SOUNDS.QUEST_OBJECTIVE_INCREMENT)
  3.     message:SetSound(SOUNDS.QUEST_OBJECTIVE_INCREMENT)
  4.     message:SetText(text)
  5.     message:MarkSuppressIconFrame()
  6.     message:MarkShowImmediately()
  7.     CENTER_SCREEN_ANNOUNCE:QueueMessage(message)
  8. end

right on ty.. looks small enough to work with.. ill dig into it ina bit and figure out how to activate it


All times are GMT -6. The time now is 07:31 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI