Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How do you tell which animation is playing?

Sundi Metropolitan
Registered User
Join date: 14 Sep 2005
Posts: 24
12-19-2006 20:26
I thought the llGetAnimation() would actually return the currently running animation but it only returns the generic animation. For instance if you override "walking" with "MyCuteWalk" and you do llGetAnimation() it returns "walking".

My problem is that I need to detect which animation is actually playing so that I can start a different animation when the first one finishes. These animations were made by different animators and are of varying lengths so timers will probably give a pretty rough transition.

Anyway, if anyone knows how to detect the actual animation playing I would really appreciate it.
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
12-20-2006 02:05
This is not the full solution but using llGetAnimationList(key id) and looking at http://www.lslwiki.com/lslwiki/wakka.php?wakka=ClientAssetKeys#animations should get you going in the right direction...

/esc
_____________________
http://slurl.com/secondlife/Together