ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Destroy Junk Sound (https://www.esoui.com/forums/showthread.php?t=4159)

circonian 12/20/14 10:10 PM

Destroy Junk Sound
 
Does this work for anyone else? I can't get it to play the destroy junk sound, neither work.
Lua Code:
  1. PlaySound(SOUNDS.INVENTORY_DESTROY_JUNK)
  2. PlaySound("Inventory_DestroyJunk")

Garkin 12/21/14 06:47 AM

Quote:

Originally Posted by circonian (Post 17964)
Does this work for anyone else? I can't get it to play the destroy junk sound, neither work.
Lua Code:
  1. PlaySound(SOUNDS.INVENTORY_DESTROY_JUNK)
  2. PlaySound("Inventory_DestroyJunk")

I guess it is just a placeholder and there is no actual sound with this ID.

As far as I know if you destroy an item, you will get an "item sound":

PlayItemSound(itemSoundCategory, ITEM_SOUND_ACTION_DESTROY)

circonian 12/21/14 07:41 AM

Quote:

Originally Posted by Garkin (Post 17975)
I guess it is just a placeholder and there is no actual sound with this ID.

As far as I know if you destroy an item, you will get an "item sound":

PlayItemSound(itemSoundCategory, ITEM_SOUND_ACTION_DESTROY)

Yeah that sounds like the destroy junk sound.
I got it (SOUNDS.INVENTORY_DESTROY_JUNK) from the code for the DESTROY_ALL_JUNK dialog box clickSound.

Thanks!


All times are GMT -6. The time now is 12:28 PM.

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