Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
whoopie cushion Whoopie_cushion  

Whoopie_cushion

I couldn't find a basic, straightforward whoopie cushion script for a Second Life class I was taking, so I made one.

Category: whoopie cushion
By : jab737
Created: 2013-01-07 Edited: 2013-01-07
Worlds: Second Life

the Zip file

Download all files for Whoopie_cushion
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Whoopie_cushion_1.lsl
1 //JackieBee's Whoope Cushion Script
2 //drop it and any soundfile into any object that can be sat on
3 //Created for Rah Rehula's Second Life class @ Yavapai College AZ
4 //Rah's Renegades Spring 2012
5
6 default
7 {
9 {
10
11
12 llSetText("",<1.0,1.0,1.0>,1.0);//hovering text in ""
13 llSetSitText(""); //change action text in pie/menu
14 llSitTarget(<0.3,0.0,0.3>,ZERO_ROTATION);//adjust Sit Target
15 }
16 changed(integer change)
17 {
18 if(change == CHANGED_LINK)
19 {
20 key avatar=llAvatarOnSitTarget();
21 if(avatar != NULL_KEY)
22 {
23 llLoopSound("Fart",1.0);//add soundfile name(& file)
24 }
25 else if(avatar == NULL_KEY)
26 {
28 }
29 }
30 }
31 }

Back to the Best Free Tools in Second Life and OpenSim.