Join us in Outworldz at or follow us:

[Table of Contents]

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Die Touch_Die  


Touch Die.lsl

Category: Die
By : Anonymous
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Touch_Die
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Touch_Die_1.lsl
2 //This is to delete objects by touch. Place this script in an object you wish to have self delete. This will self delete when anyone touches it.
4 //This is nice for experiments that go a bit wild and get in people's way, that way they can delete the object. Also if you lose an object that has this you likely don't have to worry too much about tracking it down. But still if you lose an object you should make every effort to find it so it's not in someone's way.
7 123//remove the 123 to be able to use this script. Just delete the numbers and make sure running in the lower left is checked and hit save.
9 //Make sure you save a copy of this script and all others in this package before removing the 123.
11 default
12 {
14 {
15 llSetText("Touch Me To Delete!",<255,255,255>,100);
16 }
18 touch_start(integer total_number)
19 {
20 llDie();
21 }
22 }
23 // END //

Back to the Best Free Tools in Second Life and OpenSim.