Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Combining Animations In A Script.

Dade Laville
Registered User
Join date: 30 Dec 2007
Posts: 12
05-28-2009 22:31
I was just wondering how to play an animation in a script and then continue on to the next animation and so on. I need it to be when they sit on the object. I've tried sleeping the script and a timer, but the animations won't stop after getting off the object. Any help would be appreciated.

Thanks,
Dade
Deira Llanfair
Deira to rhyme with Myra
Join date: 16 Oct 2006
Posts: 2,315
05-29-2009 02:11
You might be better off posting on the scripting forum Dade, but I think you actually have to stop one animation and then start the next.

Someone here will know exactly, I'm sure.
_____________________
Deira :)
Must create animations for head-desk and palm-face!.
Dade Laville
Registered User
Join date: 30 Dec 2007
Posts: 12
05-29-2009 07:38
OK. I will try posting it there.

But, I have stopped each previous animation but it continues to play after I get off the object.
Seshat Czeret
Registered User
Join date: 26 May 2008
Posts: 152
06-04-2009 10:08
If you used llStopAnimation, the animations should stop.

Did you include a final llStopAnimation in the changed() event, when the change type was the avatar getting off the object? That would be one reason for the animations continuing.
_____________________
My blog: http://seshat-czeret.blogspot.com/
My shop: http://slurl.com/secondlife/Achlya/199/185/102
Dade Laville
Registered User
Join date: 30 Dec 2007
Posts: 12
06-04-2009 12:50
From: Seshat Czeret
If you used llStopAnimation, the animations should stop.

Did you include a final llStopAnimation in the changed() event, when the change type was the avatar getting off the object? That would be one reason for the animations continuing.


This was solved in the Scripting Tips forum. Thanks for all the help. :)