Can I send a message to the in-game alerts field?
Would like to send an alert/error message to the in-game alerts box (not chat).
Can it be done? Function to do so? Thanks! Taz |
Do you mean the messages that pop up centre screen, or the ones that pop up in the top right of the screen, or the notifications window, or something else?
|
Alerts / Announcements are the messages shown on top middle or right of the screen:
https://wiki.esoui.com/How_to_show_announcements Notifications is the notifications list that shows if you press N or click the icon above your chat: https://www.esoui.com/downloads/info...fications.html |
Top right ... thanks ...
Missed mentioning that detail, but Top-Right was my intent.
Thanks @Baertram, but your link talks about Center screen messages and Notifications. How do I post to the Top-Right box message? TIA! |
For messages in the top right of the screen, use this:
ZO_Alert(category, soundId, message, ...)... is strformat arguments. I generally use ERROR for category and SOUNDS.GENERAL_ALERT_ERROR for the sound, but you can experiment with other stuff https://github.com/esoui/esoui/blob/c9f8a88114130077403f2c6bb82684f99db06a97/esoui/ingame/alerttext/alerttext_shared.lua#L99 |
Oh sorry, I thought it was in the WIKI already too!
Thanks Dol. I'll add it to the Wiki: |
Oh snap, thanks Dolgubon and Baertram, you're are the best!
|
All times are GMT -6. The time now is 09:39 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI