// Bromley College
// Linden Script Exhibition
// Code for Step 33 Poster
default
{
touch_start(integer total_number)
{
llSensor("", NULL_KEY, AGENT, 96, PI);
// Scan for all agents (AGENT) with any name ("") and any id (NULL_KEY) within 96 metres (the maximum scan range) in all directions (PI). If any agents are detected create an indexed list of them and raise a sensor() event.
}
sensor(integer total_number)
// The number of detected agents is passed to the script below in the parameter total_number.
{
// The following 'for' loop works through the list created by the llsensor() function and the outputs information on each detected agent in turn.
integer i;
for (i = 0; i
Agent Information
Expired