Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
02-05-2010 13:21
This is driving me nuts.
I've got something playing a priority 4, looping, 30-second animation. It carris on playing till the end of the loop after I stand up, no matter what I do to stop it. I've tried stopping it explicitly by key and and also looping through llGetAnimationList and stopping everything when I stand up. And I know this is happening, or least the script tells me it is.
But the anim keeps on playing and I can see its uuid above my head with Advanced-Character-Animation Info.
Is this expected behaviour? And, if it is, is there any way other than re-uploading the animation at a lower priority to solve the issue?
|
Twisted Pharaoh
if ("hello") {"hey hey";}
Join date: 24 Mar 2007
Posts: 315
|
02-05-2010 13:43
Normally that must be the object which started the anim to stop it in a changed (CHANGED_LINK) event when you stand.
Otherwise parsing the list and stopping everything should work but... if the object restarts the animation then it happens again.
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
02-05-2010 14:13
There is a little bit of freakiness when it comes to sitting. What often works is to have the script start a different (non-looping) animation after stopping that first one. It can be a quicky, just enough to unstick the stack.
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
02-05-2010 15:11
Thanks.. I am, indeed, stopping the anim in the script that has the animation permissions, Twisted.
Viktoria, do you have any suggestions as to how long the quickie animation should last, and does the priority matter?
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
02-05-2010 16:15
priority shouldn't matter... it's just that the sim does like to give up the last animation in the list, so playing another one (I think even one as simple as a facial expression) that isn't looped should allow the looped on to pop off, and the non looped one ends normally.
at least that's what I've been told...
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
|
02-05-2010 19:21
Thanks, Void. I'm baffled, I really am. I'm using the nPose system, which works fine most of the time. I know I'm stopping the animation in the right script -- I've checked that with llGetPermissionsKey(), and there's only one script that's holding any permissions for me. It's certainly stopping the animation, or thinks it is -- it tells me when it does, as it loops through llGetAnimationList(), stopping them one by one, and I see that it stops when I try this in Emerald with the Animations window open (it's not an Emerald problem, though.. it behaves just the same in Cool Viewer and, I am told, in the standard viewer).
But even though the script and the viewer both think it's stopped, the Animation info display above my head shows it playing and it is playing. Starting and stopping animations after I think I've stopped it don't seem to have any effect. It just carries on till the end of the loop. And nothing seems to stop it.. "Stop Animating My Avatar" in the world menu doesn't do anything.
I will continue my investigations tomorrow.
ETA -- further investigations and some invaluable help over on the Animation forum confirm that it's some weird problem with the animations and nothing to do with the scripts.
|