Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Discussion: 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.

CODE

///////////Created by Joker Opus, December///////////
//Revised by Strife Onizuka
default
{
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
PLEASE FIX THE WEAPON TESTING SANDBOX - AN OLD SECONDLIFE HANGOUT!
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Original Thread
01-21-2007 16:53
/15/c2/161752/1.html
_____________________
i've got nothing. ;)
JoeTheCatboy Freelunch
Registered User
Join date: 14 Jun 2006
Posts: 42
01-21-2007 20:00
Ah ha! That's genius, very nice idea Joker
Bobbyb30 Zohari
SL Mentor Coach
Join date: 11 Nov 2006
Posts: 466
01-26-2007 16:12
Wasn't this the script you put in the LSL Scripting Library about a month ago?
Joker Opus
Registered Usimibober
Join date: 9 May 2006
Posts: 363
02-22-2007 14:02
Yes Bobby, I thought people could find it here aswell. Just incase they dont rant through the lslwiki like I do ;)
_____________________
Jøkêr Øpüs
PLEASE FIX THE WEAPON TESTING SANDBOX - AN OLD SECONDLIFE HANGOUT!