View Single Post
04/10/14, 11:46 AM   #4
GetBackYouPansy
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 7
Little trick, if you want to know what a particular sound is that is played by the UI, you can likely find out with (via /script):

Lua Code:
  1. ZO_PreHook("PlaySound", function(name) d("Play sound: " .. name) end)

Doesn't work for everything, though.

Then there's probably one or more constant in SOUNDS (/Zgoo SOUNDS) which has that string as its value, which you can use in your own code.

Last edited by GetBackYouPansy : 04/10/14 at 11:47 AM. Reason: Must always use the constants :P
  Reply With Quote