removed useless _ folders
This commit is contained in:
3
Random_Sound_on_Collide/Random_Sound_on_Collide.sol
Normal file
3
Random_Sound_on_Collide/Random_Sound_on_Collide.sol
Normal file
@@ -0,0 +1,3 @@
|
||||
<Solution name="Random_Sound_on_Collide">
|
||||
<Project name="Random_Sound_on_Collide" path="Random_Sound_on_Collide\Random_Sound_on_Collide.prj" active="true"/>
|
||||
</Solution>
|
||||
@@ -0,0 +1,35 @@
|
||||
// :CATEGORY:Sound
|
||||
// :NAME:Random_Sound_on_Collide
|
||||
// :AUTHOR:Anonymous
|
||||
// :CREATED:2010-01-10 05:20:56.000
|
||||
// :EDITED:2013-09-18 15:39:00
|
||||
// :ID:681
|
||||
// :NUM:924
|
||||
// :REV:1.0
|
||||
// :WORLD:Second Life
|
||||
// :DESCRIPTION:
|
||||
// BRan.lsl
|
||||
// :CODE:
|
||||
|
||||
test( integer chargeval )
|
||||
{
|
||||
|
||||
float SoundVal = llFrand(100);
|
||||
if (SoundVal <= 33) llTriggerSound("ric2.wav", 10.0);
|
||||
else if (SoundVal >= 66) llTriggerSound("ric1.wav", 10.0);
|
||||
else llTriggerSound("ric4.wav", 10.0);
|
||||
}
|
||||
|
||||
default
|
||||
{
|
||||
state_entry()
|
||||
{
|
||||
//llSay(0, "Hello, Avatar!");
|
||||
}
|
||||
|
||||
collision_start(integer chargeval)
|
||||
{
|
||||
test( (integer) chargeval );
|
||||
}
|
||||
}
|
||||
// END //
|
||||
@@ -0,0 +1,6 @@
|
||||
<Project name="Random_Sound_on_Collide" guid="D6ECC5C9-6C00-1014-B904-200204C60A89">
|
||||
<Object name="Object" guid="D6ECC6DA-6C00-1014-B904-200204C60A89">
|
||||
<Script name="Random_Sound_on_Collide_1.lsl" guid="D6ECDF1C-6C00-1014-B904-200204C60A89">
|
||||
</Script>
|
||||
</Object>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user