Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Alarm Script

Aln Soy
Gunsmith
Join date: 21 Jan 2006
Posts: 2
07-22-2006 15:58
I've been looking and searching. I want to make an alarm system for a facility, heres what I want to do. Have 2 buttons, an on, and off button, in the control room. Have multiple alarms around the facility, the old rotation lights kind, that also make a noise. I can't seem to find any like this. Please help!

Thanks
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
07-23-2006 01:48
That's several scripts...

but for the button you'll probably want to look at llShout, and for the actual triggers on the bells, whistles etc. llListen.
Sounds from llPlaySound or llLoopSound.
Flashing rotating lights could be several things, but llSetPrimitiveParams() for toggling the light attribute and llTargetOmega() for the rotation.

You can find all of these things on the lsl wiki, and some more ideas around them there.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog