Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Play Sound on Pay

Zero Soke
Registered User
Join date: 3 Sep 2006
Posts: 6
02-26-2009 20:36
Hey there everyone. I am making a motorcycle tipjar and i want it to play an engine rev sound when someone tips me. so i need to a script that will play a sound when they pay the object. does anyone have one or know where i can get such a script?
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
02-26-2009 20:52
You ought to be able to modify the example script at without much trouble. To add sounds, you'll need to include a llPlaySound statement at an appropriate spot, and you may want to consider preloading the specific sound in the state_entry event. You can read about how to do that at

and
.