Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

triggering a second animation

Tarak Voss
Meanderer
Join date: 14 Oct 2006
Posts: 330
02-08-2007 00:04
I want to have an Avatar sit on a poseball which will trigger script A which inturn activates (unlooped) Animation A. When animation A completes, I want to automatically run script B and animation B in a loop until the avatar stands and everything then resets.

Scenario (example only) Avatar sits on poseball and runs to a position 3 meters away - when it get there it then walks around and around a 2 meter circle until the avatar stands - then the poseball goes back to its original position and everything resets.

I envisage the movement forward is done by literally moving the pose ball on which the Avatar is sitting and the running/walking motions by the animation.

How do I do this ? How do I trigger the second script from the first and then reset everything? - is there an available script that I could use as a model? etc.

(Hope that all makes sense)

Tarak
:-)
Dylan Rickenbacker
Animator
Join date: 11 Oct 2006
Posts: 365
02-08-2007 07:09
Hi Tarak, maybe I don't quite grasp what you're getting at, but I don't see any reason a) why the poseball should move at all, and b) why you should need more than one animation to do that. Just let your avatar run the 3 meters on a path and then walk in a circle, and then when you upload it time the start of the loop so that only the walking in the circle is looped.
Tarak Voss
Meanderer
Join date: 14 Oct 2006
Posts: 330
02-08-2007 13:48
OK - now this is an upload facility I don't know about - if I'm reading you correctly, it is possible, through the upload screen, to loop only a portion of an animation (eg. say the last 20 seconds of a 30 second animation). How is that done?

Also, with the project I'm working on, I would need a animation longer than 30 seconds so would need to have some way of joining 2 animations together (eg. run, looped walk). Another reason I was looking at a moving pose ball is that the movement will travel more than 10 meters. from the starting point.

Thanks for the helpful feedback

Tarak
:-)
Dylan Rickenbacker
Animator
Join date: 11 Oct 2006
Posts: 365
02-09-2007 01:33
From: Tarak Voss
OK - now this is an upload facility I don't know about - if I'm reading you correctly, it is possible, through the upload screen, to loop only a portion of an animation (eg. say the last 20 seconds of a 30 second animation). How is that done?


In the upload dialogue, you can enter a percentage value for the point at which the animation should start looping. It involves a little trial & error to get that value right, but you can test it on the beta grid so you don't have to pay for every trial upload.

Regarding your other questions, it sounds to me as if your project could be realized more easily with a worn object or a dance machine like object than with a moving pose ball.

I haven't tried stringing animations together yet, but I know it is often done. Craig Altman has several multi-part animations. My guess is it's done with a script with a timer event. I'd have to do some research to find out the details.
Tarak Voss
Meanderer
Join date: 14 Oct 2006
Posts: 330
02-09-2007 19:27
Thanks for that

Tarak
:-)