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
AO SuperSimpleAO  

SuperSimpleAO

A very simple AO using the newest Second Life commands

Category: AO
By : Anonymous
Created: 2014-02-07 Edited: 2014-02-07
Worlds: Second Life

the Zip file

Download all files for SuperSimpleAO
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Script.lsl
1 // :Description: Super simple AO without timers can override the Sit, Stand and Walk animations
2
3 // Override the Sit, Stand and Walk animations
4 // 1. place this script and your animations in a prim
5 // 2. edit the animation names in the script to your animation's names
6 // 3. attach the prim to your avatar
7 // From the Second Life Wiki
8 // Copyright © 2009 Linden Research, Inc. Licensed under Creative Commons Attribution-Share Alike 3.0
9
10 //"Crouching"
11 //"CrouchWalking"
12 //"Falling Down"
13 //"Flying"
14 //"FlyingSlow"
15 //"Hovering"
16 //"Hovering Down"
17 //"Hovering Up"
18 //"Jumping" While still in the air during a jump.
19 //"Landing" When landing from a jump.
20 //"PreJumping" At the beginning of a jump.
21 //"Running"
22 //"Sitting" Sitting on an object (and linked to it).
23 //"Sitting on Ground" Sitting, but not linked to an object.[1]
24 //"Standing"
25 //"Standing Up" After falling a great distance. Sometimes referred to as Hard Landing.
26 //"Striding" When the avatar is stuck on the edge of an object or on top of another avatar.
27 //"Soft Landing" After falling a small distance.
28 //"Taking Off"
29 //"Turning Left"
30 //"Turning Right"
31 //"Walking"
32
33
34 string gMySit = "chop_sit";
35 string gMyStand = "FStand _02";
36 string gMyWalk = "Kort gang F v4.1";
37
38 default
39 {
40 attach(key id)
41 {
42 if( id ) llRequestPermissions(id , PERMISSION_OVERRIDE_ANIMATIONS);
43 else if( llGetPermissions() & PERMISSION_OVERRIDE_ANIMATIONS ) llResetAnimationOverride("ALL");
44 }
46 {
47 if( perms & PERMISSION_OVERRIDE_ANIMATIONS )
48 {
49 llSetAnimationOverride( "Sitting", gMySit);
50 llSetAnimationOverride( "Standing", gMyStand);
51 llSetAnimationOverride( "Walking", gMyWalk);
52 }
53 }
54 }

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