Home |
Add a script
|
||
|---|---|---|---|
| Category: | Contributor: | Description | |
| Touch | Anonymous | Touch Fire.lsl | |
Owner only touch
Touch Fire.lsl
Download this script - Please use this link to get this script. If you see all the code on one long line, please use Wordpad or another editor, such as LSLEdit.exe. The .LSL file you will download is an ordinary text file.
1 // CATEGORY:Touch 2 // DESCRIPTION:Owner only touch 3 // ARCHIVED BY:Ferd Frederix 4 5 //This isn't a needed thing for most people, but it is handy for those touch scripts that you don't want just anyone stopping by and messing with. Only you can activate the touch event with this. Very handy for touch initiated experiments that you don't want anyone messing up. 6 default 7 { 8 state_entry() 9 { 10 } 11 12 touch_start(integer total_number) 13 { 14 if(llDetectedKey(0) == llGetOwner()); 15 { 16 //Do Stuff here 17 } 18 } 19 } 20 // END //