Quantcast Destroy Junk Sound - ESOUI
Thread Tools Display Modes
12/20/14, 10:10 PM   #1
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 648
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")
  Reply With Quote
12/21/14, 06:47 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 853
Originally Posted by circonian View Post
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)
__________________
@Garkin (retired from ESO)
My addons: SkyShards, LoreBooks, Dustman, Map Coordinates, No, thank you!, ... (full list)
  Reply With Quote
12/21/14, 07:41 AM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 648
Originally Posted by Garkin View Post
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!

Last edited by circonian : 12/21/14 at 07:44 AM.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Destroy Junk Sound

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off