Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

What is wrong with this script?

Lennard Denver
Registered User
Join date: 20 Jun 2009
Posts: 9
08-10-2009 11:18
Hello. I made a very simple script to remove a platform (in a sandbox) when I leave. Why doesn't this work???
CODE

default{
state_entry(){
llSensorRepeat("", llGetOwner(), AGENT, 96, PI, 60 ); }
no_sensor(){
llOwnerSay("Removed");
llDie();}}
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
08-10-2009 11:32
Here's your answer, at ....

From: someone
Note: Using the no_sensor event without a sensor event will cause the repeating sensor to stop. Use a "dummy" sensor event with nothing inside the brackets if you just want to react to something not being found.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Lennard Denver
Registered User
Join date: 20 Jun 2009
Posts: 9
08-10-2009 11:49
From: Rolig Loon
Here's your answer, at ....


That explains.Thanks