So I've been working on trying to create an animation override, just something simple to start out with, using the example script for llSetAnimationOverride
Despite my
// Override the Sit, Stand and Walk animations
// 1. place this script and your animations in a prim
// 2. edit the animation names in the script to your animation's names
// 3. attach the prim to your avatar
string gMyWalk = "JG_Anim_Ankletie_Move";
default
{
attach(key id)
{
if ( id ) llRequestPermissions(id , PERMISSION_OVERRIDE_ANIMATIONS);
else if ( llGetPermissions() & PERMISSION_OVERRIDE_ANIMATIONS ) llResetAnimationOverride("ALL");
}
run_time_permissions(integer perms)
{
if ( perms & PERMISSION_OVERRIDE_ANIMATIONS )
{
llSetAnimationOverride( "Walking", gMyWalk);
}
}
}
However, despite a good deal of jiggery pokery, I've keep running into the same issue- for whatever reason, the animation will stop half way through the first loop, or not play at all, or if I bump into an object it'll sometimes kickstart it and it works properly until I stop walking again.
Anyone have suggestions on this one?
Thanks,
Diawl