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 pose_script  

pose_script

pose_script by FlipperPA.lsl

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

the Zip file

Download all files for pose_script
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. pose_script_by_FlipperPA_1.lsl
1
2 // FlipperPA's auto-transparent minimum lag pose thingy.
3
4 // STEP 1: Drop your pose into an object inventory with this script (only 1)
5 // STEP 2: Simply enter the text you wish to hover about the pose object below
6
7 string DISPLAY_TEXT = "Float";
8
9 // STEP 3: Hit "SAVE" below. If you change the pose, you can reset the script to re-read the pose
10
11 /////////////////////// DO NOT CHANGE BELOW ////////////////////////
12 string ANIMATION;
13 integer is_sitting;
14
15 default
16 {
18 {
20 is_sitting = 0;
21 llSitTarget(<0,0,.1>,ZERO_ROTATION);
22 llSetTexture("5748decc-f629-461c-9a36-a35a221fe21f",ALL_SIDES);
23 llSetText(DISPLAY_TEXT,<1,1,1>,1);
24 }
25
26 changed(integer change)
27 {
28 if(change & CHANGED_LINK)
29 {
31
32 if(av != NULL_KEY)
33 {
35 }
36 else
37 {
39 {
40 is_sitting = 0;
41 llStopAnimation(ANIMATION);
42 llSetText(DISPLAY_TEXT,<1,1,1>,1);
43 llSetTexture("5748decc-f629-461c-9a36-a35a221fe21f",ALL_SIDES);
44 }
45 }
46
47 }
49 }
50
52 {
54 {
55 is_sitting = 1;
56 llStopAnimation("sit_generic");
57 llStopAnimation("sit");
58 llStartAnimation(ANIMATION);
59 llSetTexture("f54a0c32-3cd1-d49a-5b4f-7b792bebc204",ALL_SIDES);
60 llSetText("",<1,1,1>,1);
61 }
62 }
63
64 on_rez(integer start_param)
65 {
67 }
68 }
69 // END //

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