|
ziggy Klossovsky
Registered User
Join date: 23 Jul 2008
Posts: 19
|
10-02-2008 15:32
Does anyone know how to make a door bell script to play a sound on touch?
|
|
leliel Mirihi
thread killer
Join date: 24 Oct 2006
Posts: 129
|
10-02-2008 15:50
default { touch_start( integer num) { llPlaySound( "sound_name", 0.75); } }
|
|
Gabby Handrick
Registered User
Join date: 18 Feb 2007
Posts: 190
|
10-02-2008 15:58
// set to the UUID of the sound you would like to play // obtain by right clicking the sound in your inventory // and selecting Copy Asset UUID key soundid = "38f1d222-b040-7903-57c6-fa65943d1756";
// Volume of sound, acceptable values are 0.0 (sound off) // through 1.0 (loudest) float volume = 1.0;
default { touch_start(integer total_number) { llPlaySound(soundid, volume); } } You will need to change the UUID to the one for the sound you want to play. The one included is just a random one I pulled out of the library and is not actually a bell at all.
_____________________
GH Creations - Maker of Quality Furniture and Landscaping Items Now offering sculpted-prim lighting solutions for your home. Main Store  XStreetSL Listings 
|
|
Czari Zenovka
I've Had it With "PC"!
Join date: 3 May 2007
Posts: 3,688
|
10-03-2008 00:12
Having been the owner of a doorbell when I first came to SL, just beware of door-to-door SL salesmen. 
_____________________
*Czari's Attic* ~ Relive the fun of exploring an attic for hidden treasures!
http://slurl.com/secondlife/Rakhiot/82/99/111
During times of universal deceit, telling the truth becomes a revolutionary act.- George Orwell
|
|
Dekka Raymaker
thinking very hard
Join date: 4 Feb 2007
Posts: 3,898
|
10-03-2008 05:57
From: Czari Zenovka Having been the owner of a doorbell when I first came to SL, just beware of door-to-door SL salesmen.  …but if someone knocks at your door in the meantime you maybe lucky and find it's a a door-to-door salesman selling doorbells!
|
|
Czari Zenovka
I've Had it With "PC"!
Join date: 3 May 2007
Posts: 3,688
|
10-04-2008 06:40
From: Dekka Raymaker …but if someone knocks at your door in the meantime you maybe lucky and find it's a a door-to-door salesman selling doorbells! Good point! /as first Pepsi of the day is spewed on monitor 
_____________________
*Czari's Attic* ~ Relive the fun of exploring an attic for hidden treasures!
http://slurl.com/secondlife/Rakhiot/82/99/111
During times of universal deceit, telling the truth becomes a revolutionary act.- George Orwell
|