removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="Frog_sensor">
<Project name="Frog_sensor" path="Frog_sensor\Frog_sensor.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,6 @@
<Project name="Frog_sensor" guid="D72737E2-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D72738C3-6C00-1014-B904-200204C60A89">
<Script name="Frog_sensor_1.lsl" guid="D727514A-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>

View File

@@ -0,0 +1,47 @@
// :CATEGORY:Sound
// :NAME:Frog_sensor
// :AUTHOR:Anonymous
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:38:53
// :ID:340
// :NUM:458
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// Frog sensor.lsl
// :CODE:
// Frog player
// Written by Ferd Frederix
// Scans every 10 seconds for visitors within 5 meters.
// then it croaks
play ()
{
string sound = "frog";
float value = llFrand(4.0) ;
integer file = (integer) value + 1;
llPlaySound( sound + (string) file, 1.0);
}
default
{
state_entry()
{
// arc=PI is a sphere, you could look more narrowly in the direction object is facing with PI/2, PI/4 etc.
// don't repeat this too often to avoid lag.
llSensorRepeat("", "", AGENT, 5.0, PI, 10.0);
}
sensor(integer num_detected)
{
play();
}
touch(integer num_detected)
{
play();
}
}
// END //