Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script to animate an object and override AO?

Ricky Shaftoe
Owner, "Rickymations"
Join date: 27 May 2005
Posts: 366
06-23-2009 21:57
Hi there,

I'm trying to find a script to animate an object once the object is attached -- and then to override any AO walks, so that the animation continues to play even if the avatar moves around.

My animation is a simple "hold." I animated only the upper body, hoping it would continue to play even as lower-priority animations played as well. I made my animation priority 4, and it overrides my AO (which is all priority 2) while I stand in place. And I tried a simple script that animates on attaching. But if I start walking, the hold animation stops. I'm positive my AO is priority 2, because I made it myself.

Does anyone know where I might buy a script to do what I want? Or find a free one? Or have a suggestion on what I could add to the script to prevent my anim from being overridden? I found another thread suggesting that I periodically start the "hold" again, but I don't know how to do that -- with a timer event, I suppose? To borrow from Dr. McCoy of Star Trek, I'm an animator, not a scripter!

Thanks!
Osprey Therian
I want capslocklock
Join date: 6 Jul 2004
Posts: 5,049
06-23-2009 23:36
It works with a simple on attach animation script providing the priorities are correct. To check priorities tick "Animation Info" under Character in the debug menu.

I'm sure you already have an on-attach animation script but I'll send you one anyway.
Ricky Shaftoe
Owner, "Rickymations"
Join date: 27 May 2005
Posts: 366
06-24-2009 07:58
Thanks, Osprey! I look forward to trying it out.