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
Sound Sound_Script  

Sound_Script

Sound Script.lsl

Category: Sound
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Sound_Script
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Sound_Script_1.lsl
1
2 string sound1="fire";
3 string sound2="fireS";
4 default
5 {
7 {
8 llPreloadSound(sound1);
9
10 }
12 {
13 if(m=="shots")
14 {
15 llTriggerSound(sound1,1.0);
16 }
17 if(m=="shotss")
18 {
19 llTriggerSound(sound2,1.0);
20 llSleep(0.1);
21 llTriggerSound(sound2,0.1);
22 }
23
24 }
25 }
26
27
28
29
30
31 // END //

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