Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

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
Door Basic_sliding_doorscript  

Basic_sliding_doorscript

Basic sliding doorscript.lsl

Category: Door
By : Kyrah Abbattoir
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Basic_sliding_doorscript
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Basic_sliding_doorscript_1.lsl
1
2 /////////////////////////////////
3 //ultra basic sliding door script
4 //by Kyrah Abattoir
5 /////////////////////////////////
6
7 vector closed = <121.007,31.148,23.088>;//XYZ coordinates of the door when closed
8 vector open = <119.941,31.148,23.088>;//XYZ coordinates of the door when closed
9 float time = 5.0;//time before the door close itself
10 default
11 {
13 {
14 llSetPos(closed);
15 llSetText("",<1,1,1>,1.0);//REMOVE THIS LINE
16 }
17
18 touch_start(integer total_number)
19 {
20 llSetPos(open);
21 llSleep(time);
22 llSetPos(closed);
23 }
24 }
25 // END //

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