LlSensorRemove
Looking for the current API? Open the llSensorRemove reference →
Wiki description
Removes the sensor setup by llSensorRepeat.
Function notes
There are no parameters or return value for this function, as only one llSensorRepeat can be specified per script.
Caveats
Examples
The following basic example shows an object that when touched starts scanning for avatars in 10m every 30 seconds, and stops as soon as at least one is found, and returns their name.
default {
touch_start(integer x) {
llSensorRepeat("", NULL_KEY, AGENT, 10.0, PI, 30.0);
}
sensor(integer x) {
llSay(0, llDetectedName(0) + " was found first!");
llSensorRemove();
}
}See also: functions
See also: events
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.