Sound on Touch

Date 2008/4/1 8:11:19 | Topic: Sound

Plays a single Sound file once when Touched. Sound file must be in prim with script.

default
{
    
touch_start(integer total_number)
    {
        
//Play a Sound file Once that is in Object Inventory
        
llPlaySound(llGetInventoryName(INVENTORY_SOUND,0), 1);
    }
}




This script comes from Alicia Stella Design - Best Tip Jars in Second Life
http://www.aliciastella.com

The URL for this script is:
http://www.aliciastella.com/modules/AMS/article.php?storyid=14