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 anim_script  

anim_script

anim script.lsl

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

the Zip file

Download all files for anim_script
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. anim_script_1.lsl
1
2 string anim = "boomboxin2";
3
4 integer attached = FALSE;
5 integer permissions = FALSE;
6
7 default
8 {
10 {
12 }
13
14 run_time_permissions(integer permissions)
15 {
16 if(permissions > 0)
17 {
18 llStartAnimation(anim);
19 attached = TRUE;
20 permissions = TRUE;
21 }
22 }
23
24 attach(key attachedAgent)
25 {
26 if(attachedAgent != NULL_KEY)
27 {
28 attached = TRUE;
29
30 if(!permissions)
31 {
33 }
34 }
35
36 else
37 {
38 attached = FALSE;
39 llStopAnimation(anim);
40 }
41 }
42 }
43
44 // END //

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