ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Function playsound (https://www.esoui.com/forums/showthread.php?t=10500)

Shuba00 03/28/23 01:26 PM

Function playsound
 
Hello, i have two questions using the Playsound() function:

1) Can i use custom sound?

2) There is a list of the sound? i tried to search in esoui wiki, but didn't find nothing


ty in advance :)

Sharlikran 03/28/23 02:05 PM

https://www.esoui.com/forums/showthread.php?t=9865

I was going to refer you to that but I noticed that 4 and 7 are the same and it doesn't mention that you can't add your own custom sounds. You can only play existing sounds

Shuba00 03/28/23 02:17 PM



i just wanted to troll some friends :(((

ZOS_DanBatson 03/28/23 02:45 PM

EsoUI\Libraries\Globals\SoundIds.lua has the list of sounds you can play with PlaySound.

sinnereso 03/28/23 03:44 PM

There is a list of sounds here Ive been using but some appear to do nothing.

https://wiki.esoui.com/Sounds

Baertram 03/29/23 05:05 AM

Yes, the ones that have the value "No_Sound" won't play anything, e.g. "NONE" (obviously) and ABILITY_NOT_READY
And the link from the Wiki is an older version of the files that Dan had linekd above: EsoUI\Libraries\Globals\SoundIds.lua
So better use the actual file contents.

They are available at github e.g.

https://github.com/esoui/esoui/tree/master/esoui

-> https://github.com/esoui/esoui/blob/...s/soundids.lua


Thanks Sharlikran for mentioning the points 4 and 7, will update the list!
I think 7 should have been no custom sounds then^^


All times are GMT -6. The time now is 08:03 PM.

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