Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Pose ball avi touch change animation

Carl Temin
Registered User
Join date: 29 Sep 2006
Posts: 39
02-08-2008 05:34
Hello folks

I was wondering if any of you kind people could direct me to a pose ball script that can change between two animation upon a touch or a listen or a linked message whilst the avi is using the ball?

Kind regards

Carl
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
02-08-2008 09:57
If you are interested in writing such a script yourself, it is pretty much the same as just a plain poseball. On the desired event, you'll do a llStopAnimation() on the old animation (or all animations used by the script), and a llStartAnimation() on the new one. The logic behind selecting the new animation is up to you. If you only have two, you might just keep track of the last one played and choose the other. If you have multiple, you could either automatically cycle through them in a round robin fashion, or you could offer a dialog/chat interface. See:

http://www.lslwiki.net/lslwiki/wakka.php?wakka=llDialog

If you want a pre-made script to do such a thing, you might try the Products Wanted forum instead.