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 T_Poser  

T_Poser

T Poser.lsl

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

the Zip file

Download all files for T_Poser
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. T_Poser_1.lsl
1
2 key sitter = NULL_KEY;
3 integer perms = FALSE;
4
5 default
6 {
8 {
9 vector posoffset = <0.00, 0.00, 2.00>;
10
11 rotation rX;
12 rotation rY;
13 rotation rZ;
14 rotation r;
15
16 rX = llAxisAngle2Rot( <0.04,0,0>, 0 * DEG_TO_RAD);
17 rY = llAxisAngle2Rot( <0,0.04,0>, 0 * DEG_TO_RAD);
18 rZ = llAxisAngle2Rot( <0,0,0.04>, 0 * DEG_TO_RAD);
19
20 r = rX * rY * rZ;
21
22 llSetSitText( "Stand" );
23
24 llSitTarget( posoffset, r );
25 }
26
27 changed(integer change)
28 {
29 if(change & CHANGED_LINK)
30 {
31 key agent = llAvatarOnSitTarget();
32 if( sitter == NULL_KEY && agent != NULL_KEY )
33 {
34 sitter = agent;
36 }
37
38 else if( sitter != NULL_KEY && agent == NULL_KEY)
39 {
40 if( perms )
41 {
42 llStopAnimation("T Pose");
43 }
44
46 }
47 }
48 }
49
51 {
53 {
54 perms = TRUE;
55 llStopAnimation("sit");
56 llStartAnimation("T Pose");
57 }
58 }
59 }// END //

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