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
Animation Pose parts of your Avatar while dancing  

Pose parts of your Avatar while dancing

Free Script to hold poses like carrying a bag or an umbrella or a cat whilst on a dance hud by Heartfelt

Category: Animation
By : Heartfelt
Created: 2016-09-10 Edited: 2016-09-10
Worlds: Second Life

the Zip file

Download all files for Pose parts of your Avatar while dancing
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Heartfelts Script.lsl
1 //INSTRUCTIONS = Make an animation in the free program Qavimator http://www.qavimator.org.
2 // Make it about 555 frames long and make 1 pose at the very beginning and leave the rest.
3 // Upload it to second life on Singularity viewer as you can set anim priority to 5, make the lead in and lead out 0.000 set no loop .
4 // Upload it again and use the same settings but tick loop then put both anims into a prim with this script and write the names in then wear it.
5 // Then your pose will be forced to repeat every 0.2 seconds and you can carry stuff whilst other animations happen.
6 // enjoy and hugs <3 Heartfelt
7
8 float speed = 0.2;
9 string plushy1 = "write the animation name here inside the quote marks";
10 string plushy2 = "Write the other animation name here";
11
12 integer tickstate = 1;
13
14 default {
15 state_entry() {
17 }
18
19 changed(integer change) {
20 if(change & CHANGED_OWNER) {
22 }
23 }
26 llSetTimerEvent(speed);
27 }
28 }
29
30 attach(key id)
31 {
33 }
34
35 timer(){
36 if(tickstate == 2) {
37 llStartAnimation(plushy2);
38 llStopAnimation(plushy1);
39 tickstate = 4;
40 }
41 if(tickstate == 3) {
42 llStartAnimation(plushy1);
43 llStopAnimation(plushy2);
44 tickstate = 2;
45 }
46
47 if(tickstate == 4)
48 tickstate = 3;
49
50 if(tickstate == 1) {
51 llStartAnimation(plushy2);
52 tickstate = 2;
53 }
54 }
55 }

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