-->

FoxSan's 3D Tools and LSL Script Repository

Tons of LSL scripts, examples and 3D tools, free for all. There are currently 207 scripts and articles in this database.

llSensor

default
{
    state_entry()
    {
        llSetText("llSensor()\nTouch to trigger a sensor",<1,1,1>,1);
    }
 
    touch_start(integer total_number)
    {
       llSensor("",NULL_KEY,AGENT,10,PI);
    }
 
    sensor(integer num_detected)
    {
        integer i;
        for(i=0;i<num_detected;i++)
            llSay(0, llDetectedName(i)+" is not a llama");
    }
}

Comments are closed.