View Single Post
04/20/21, 12:41 PM   #1
DarkruneDK
 
DarkruneDK's Avatar
Join Date: Feb 2014
Posts: 2
Issue with SetClickSound (LUA)

Hi.

I am trying to write an addon entirely in LUA (just a preference I have), and I am having issues with the API SetClickSound.

I have tried the following:

Code:
SetLocator.UI.Window.Close:SetClickSound(ZO_ButtonBehaviorClickSound);
And

Code:
SetLocator.UI.Window.Close:SetClickSound("ZO_ButtonBehaviorClickSound");
I can't seem to make it work...
It it possible to do this? and if it is, how?
  Reply With Quote