Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script for Animations

Sin Poitier
RL is calling
Join date: 5 Mar 2007
Posts: 52
03-10-2007 03:45
My knowledge about scripting is zero. Is there a way to select one animation (no loop), and after finishing it, use another animation, this time a loop one?
For example, a poseball, where the first animation is a sitting action...and the second, the movements while being sit (hands, head). If done with one animation, this would be impossible, because the avatar will continue to stand up and sit, over and over again with each loop.
Any help?
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-10-2007 04:50
From: Sin Poitier
My knowledge about scripting is zero. Is there a way to select one animation (no loop), and after finishing it, use another animation, this time a loop one?
For example, a poseball, where the first animation is a sitting action...and the second, the movements while being sit (hands, head). If done with one animation, this would be impossible, because the avatar will continue to stand up and sit, over and over again with each loop.
Any help?


Just start and stop the different animations as required. Your problem will be that the script will have NO WAY of knowing the length of the first animation, you will need to time it yourself and and add the length to the script.

Look here for a previous example.
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
03-10-2007 05:59
If you are making these animations, or having them made for you, you can in fact do what you want with a single animation. When you upload an animation you specifiy the start and end loop points, so the whole thing doesn't necessarily need to loop. You can make the sitting segment play only once, and loop everything thereafter.