View Single Post
01/04/24, 11:04 PM   #5
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 409
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
  Reply With Quote