01-15-2007 18:40
I'm working on using a "hold_R_rifle" animation for a basic rifle. I have to halt it at one point
and I'm do so using this (excerpted from the lslwiki):

CODE
haltanims()
{
list anims=llGetAnimationList( llGetOwner());

integer len = llGetListLength(anims);
integer i;
for (i = 0; i < len; ++i) llStopAnimation(llList2Key(anims, i));

}


and it does appear to halt...but only after I move my avatar. If I don't move my avatar it remains in the preceding animation state.

Thoughts?