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
Pose Balls Regular_Sit_Script  

Regular_Sit_Script

Regular Sit Script.lsl

Category: Pose Balls
By : Ben Linden
Created: 2010-01-10 Edited: 2010-01-10
Worlds: Second Life

the Zip file

Download all files for Regular_Sit_Script
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Regular_Sit_Script_1.lsl
1
2 // Quick and dirty regularsit
3 // Ben Linden
4
5
6 default
7 {
9 {
11 }
12
13 on_rez(integer param)
14 {
16
17 }
18
20 {
21 if(perms)
22 {
23 llSetTimerEvent(1.0);
24 }
25 else
26 {
27 llSetTimerEvent(0.0);
28 }
29 }
30
31 timer()
32 {
33 if(llGetAnimation(llGetOwner()) == "Sitting")
34 {
35 llStopAnimation("sit");
36 llStartAnimation("sit_generic");
37 }
38 else
39 {
40 llStopAnimation("sit_generic");
41 }
42 }
43 }
44 // END //

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