removed useless _ folders
This commit is contained in:
43
Sound_Script/Sound_Script/Object/Sound_Script_1.lsl
Normal file
43
Sound_Script/Sound_Script/Object/Sound_Script_1.lsl
Normal file
@@ -0,0 +1,43 @@
|
||||
// :CATEGORY:Sound
|
||||
// :NAME:Sound_Script
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:05
|
||||
// :ID:816
|
||||
// :NUM:1126
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// Sound Script.lsl
|
||||
// :CODE:
|
||||
|
||||
string sound1="fire";
|
||||
string sound2="fireS";
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
llPreloadSound(sound1);
|
||||
|
||||
}
|
||||
link_message(integer n, integer g, string m, key null)
|
||||
{
|
||||
if(m=="shots")
|
||||
{
|
||||
llTriggerSound(sound1,1.0);
|
||||
}
|
||||
if(m=="shotss")
|
||||
{
|
||||
llTriggerSound(sound2,1.0);
|
||||
llSleep(0.1);
|
||||
llTriggerSound(sound2,0.1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// END //
|
||||
6
Sound_Script/Sound_Script/Sound_Script.prj
Normal file
6
Sound_Script/Sound_Script/Sound_Script.prj
Normal file
@@ -0,0 +1,6 @@
|
||||
<Project name="Sound_Script" guid="D7B1E52F-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D7B1E60D-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Sound_Script_1.lsl" guid="D7B1FC6E-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user