View Full Version : How to make a button produce a sound.

May 19th, 2009, 10:12 AM
Just wondering if anyone has info on how to make a button produce a sound when it's pressed.

May 19th, 2009, 10:36 AM
Here's an undocumented NR feature! Put the following in the CCFLoaded function (formerly the OnCCFLoad function) of the CCF's Lua file.
NetRemote.SetVariable("NR.ActionSound", NetRemote.GetVariable("NR.InstallDir").."\\Click.wav")Click.wav is a key ckick sound I copied from Windows and placed in the NR root directory. Now, whenever you press a button, the Click.wav sound will play.

May 19th, 2009, 03:10 PM

I added the script you gave me and it works like a charm. Oh the possibilities with that little script :-)

Thanks for the help, I appreciate it.