Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rez on command?

Lobos Cranes
Registered User
Join date: 14 Jan 2006
Posts: 10
07-01-2006 09:56
(Please note that I'm VERY new to scripting in LSL :))
I'm wondering if it's possible to create an object with a script that, on command, would rez an object in the object's inventory. The command would be on channel zero, so if I had an object called "object", I'd just say that aloud, and it would rez.

Anyone know how to do this?
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
07-01-2006 13:07
Listening on channel 0 to a range of commands, even with it filtering just for you will be very unpopular and cause a higher, possibly much higher, than necessary load on the sim.

But http://secondlife.com/badgeo/wakka.php?wakka=llListen et seq. will let the script hear your command, http://secondlife.com/badgeo/wakka.php?wakka=llRezObject will help you make it rez an object from inventory.

If you ABSOLUTELY must use channel 0, please make it rez only one thing and filter the listen for the word and the owner, and give it an on/off option. Starax' wand uses a variant on the system you're asking about - it is also depressingly easy to crash the sim using it.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog