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 Auto_Door_Left  

Auto_Door_Left

Auto Door Left.lsl

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

the Zip file

Download all files for Auto_Door_Left
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Auto_Door_Left_1.lsl
1
2
3 default
4 {
6 {
7 llSay(0, "Door 1.0");
8 state open;
9 }
10 }
11
12 state open
13 {
14
15 touch_start(integer total_number)
16 {
17 llTriggerSound("Door", 0.5);
18
19 rotation rot = llGetRot();
20 rotation delta = llEuler2Rot(<0,0,(PI/4)+-0.1>);
21 rot = delta * rot;
22 llSetRot(rot);
23 llSleep(0.25);
24 rot = delta * rot;
25 llSetRot(rot);
26 state closed;
27 }
28 }
29
30 state closed
31 {
33 {
34 llSleep(20.0);
35 llTriggerSound("Door", 0.5);
36
37 rotation rot = llGetRot();
38 rotation delta = llEuler2Rot(<0,0,(-PI/4)+0.1>);
39 rot = delta * rot;
40 llSetRot(rot);
41
42 llSleep(0.25);
43 rot = delta * rot;
44 llSetRot(rot);
45 state open;
46 }
47 }
48 // END //

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