Join us in Outworldz at www.outworldz.com:9000 or follow us:

Home   Show All
Category: Contributor: Creator
Sound Play-Sound-and-Animation  

Play-Sound-and-Animation

Plays a sound and an animation

Category: Sound
By : Ferd Frederix
Created: 2015-02-25 Edited: 2015-02-25
Worlds: Second Life

the Zip file

Download all files for Play-Sound-and-Animation
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. Script.lsl

This script by Ferd Frederix may be used in any manner, modified, and republished.  Unless specified otherwise, my scripts are always free and open source.  Objects made with these scripts may be sold with no restrictions.  All I ask is that you point others to this location should they ask you about it and to not sell this script, unless it is for $0 L. Please help improve my work by reporting bugs and improvements.

1 // partly from From the SL wiki at http://wiki.secondlife.com/wiki/LlStartAnimation with just a few mods:
2
3 default
4 {
6 {
8 }
10 {
12 {
13 llStartAnimation("Animation"); // you can also copy and past a UUID here from your inventory
14 llPlaySound("Sound",1.0);
15 llSetTimerEvent(5.0); // 5 seconds, in this case
16 }
17 }
18 timer()
19 {
20 llSetTimerEvent(0.0);
21 llStopAnimation("Animation"); // Must match the name or UUID of the animation you started
23 }
24 }

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