Originally Posted by Seerah
Yep. I'm not at my computer at the moment, so I don't recall what I use for category. You may try using something made up to see if it works... Sound will be a sound id, and then your message string. It also accepts color coded in the string via the escape sequences.
|
Ahhh, cool.
I think I have a table of categories but I'm not sure if posting that would be pushing it... (also not entirely sure if it's accuracy as its source is somewhat old.)
Originally Posted by Biki
I've used it in my achievement tracker. It's very handy, especially because of the built-in queue system that shows message one after another.
Lua Code:
ZO_Alert(UI_ALERT_CATEGORY_ALERT, SOUNDS.DEFAULT_CLICK, "Achievement |cFF4136" .. name .. "|r completed.")
|
Very cool! Thanks for the example. I think I'm going to play around with it but I'm at work right now so it'll have to wait.
Question though; are these alerts the one's that show in the top right of the screen when you take a screen shot for instance? Or are they like the GM/server alerts that show in the middle when they are shutting down the servers?
As always, thanks guys!