Page 1 of 1

Yellow Message in center screen

Posted: Mon Oct 05, 2015 11:05 pm
by noobbotter
What kind of message is it that you need to monitor for large yellow text in the center of you screen, which does not appear in the chat window? Is that SYSTEM_MESSAGE?

Re: Yellow Message in center screen

Posted: Mon Oct 05, 2015 11:31 pm
by lisa
Rock posted an addon to help with messages, you define the text you are looking for and when the game sees the text it prints in game the info you need for it.

Re: Yellow Message in center screen

Posted: Tue Oct 06, 2015 2:35 am
by rock5
I think the answer to the question is, a yellow message is usually an ALERT_MESSAGE and an orange one is a WARNING_MESSAGE. Although sometimes a message will include color code information so the color can be misleading, eg. the public event message is a WARNING_MESSAGE but it comes up yellow because the string include the yellow color code something like "|cffffff80Regional event now restarting!|r".

Re: Yellow Message in center screen

Posted: Tue Oct 06, 2015 6:05 am
by kenzu38
Like I said in this post, they're warning messages so you use getLastWarning to monitor them. Like rock said though, they can also be alerts, in which case you use getLastAlert.

Re: Yellow Message in center screen

Posted: Tue Oct 06, 2015 4:12 pm
by noobbotter
Well, I tried both getLastWarning and getLastAlert and it didn't work. In all the other areas I can find that deal with this, like on the EoJ post, there's always a message that shows up in the chat box as well as the center of the screen. On this particular one (Kobolds in a barrel event on Varanas Bridge), when you click a barrel, nothing shows up in the chat window... only in the center of the screen.

Maybe someone else can do a short quick test on how to detect those messages? The messages you will see include:

"Please report the quest to Lobt Kayen." (when the event is over with)
"It seems like there is something inside the barrel."
"There seem to be kobolds nearby."
and
"It doesn't look like there are any kobolds around."

Re: Yellow Message in center screen

Posted: Tue Oct 06, 2015 4:49 pm
by kenzu38
Hmm, yea I forgot there were SYSTEM_MESSAGE events too.

Well anyway, tried it together with WARNING_MESSAGE, it seems like all of them are in SYSTEM_MESSAGE. You just have to use EventMonitor for them.

Re: Yellow Message in center screen

Posted: Wed Oct 07, 2015 9:33 am
by noobbotter
Thanks Kenzu. between you and Lisa providing help, I got it working.

Re: Yellow Message in center screen

Posted: Wed Oct 07, 2015 5:19 pm
by kenzu38
No Prob. And grats on completing the Wp, heh.