Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sensor Notice

Joker Opus
Registered Usimibober
Join date: 9 May 2006
Posts: 363
01-20-2007 15:12
I help manage a few sandboxes, so one day I thought of a simple idea of a 'Sensor Notice'.
This is sort of like a linden notice, only its range is limited, and its in the form of a dialog menu.
Yes I know its simple, but maybe someone can find use for it like I have.


///////////Created by Joker Opus, December///////////
//Revised by Strife Onizuka
touch_start(integer num_detected)
llSensor("", NULL_KEY, AGENT, 96, PI);//This scans on touch
sensor(integer count)
integer i;
for(i = 0; i < count; ++i)
llDialog(llDetectedKey(i), "Hi all, I am testing this!", ["Ok"], 12345); //This is dialog, it looks like a notice, and it says "Hi all, I am testing this!" and it has an [ok] for a button, indicating the notice look. and the OK gets rid of the pop up.
Jøkêr Øpüs
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
01-21-2007 16:53
i've got nothing. ;)
Aster Anza
Meow Meow... :)
Join date: 30 Aug 2006
Posts: 82
01-22-2007 22:01
Those are neat ideas except a sensor can only detect 16 avatars at once. You will have problems if your sandbox has any popularity.And llDialog sleeps the script for two seconds so the last person gets the message 32 seconds after the first