llStartObjectAnimation() & llStopObjectAnimation() does not visually work on Viewer 26.3
Lucia Nightfire
llStartObjectAnimation() & llStopObjectAnimation() does not visually work on Viewer 26.3
Tested with the following script:
default
{
touch_end(integer i)
{
if (~llDetectedTouchFace(0) && (llDetectedKey(0) == llGetOwner()))
{
if (llGetInventoryNumber(INVENTORY_ANIMATION))
{
string animation = llGetInventoryName(INVENTORY_ANIMATION,0);
if (~llListFindList(llGetObjectAnimationNames(),[animation]))
{
llOwnerSay("Stopping the animation '" + animation + "'...");
llStopObjectAnimation(animation);
}
else
{
llOwnerSay("Starting the animation '" + animation + "'...");
llStartObjectAnimation(animation);
}
}
else
{
llOwnerSay("no animations in inventory");
}
}
}
}
llGetObjectAnimationNames() sees animations start/stop, but Developer > Avatar > Animation Info does not.
Teleporting out of the region, waiting for a few minutes then teleporting back shows the character correctly.
Log In
Dan Linden
I'm not able to reproduce this. I'm testing on 26.3.0.31203661088 on Win11.
* Take a copy of the Animesh at https://maps.secondlife.com/secondlife/Bug%20Island%202/158/29/23,
* Rez it somewhere where scripts run (https://maps.secondlife.com/secondlife/Bug%20Island/197/50/27)
* Remove the 2 scripts from the animesh's inventory.
* Add the script from the Description above.
* Enable Develop > Avatar > Animation Info
* Right-click > Touch the animesh.
I see the animation name above the animesh's head.
Photo Viewer
View photos in a modal
Lucia Nightfire
Dan Linden
As I mentioned in my previous comments, this does not affect animesh that is low link count and/or uses all the same mesh UUIDs. Your Aditya character is only one link.
Please see https://feedback.secondlife.com/bug-reports/p/llstartobjectanimation-llstopobjectanimation-no-longer-works-on-animesh-characte for further details/instructions. Thanks.
Jellyfish
Thank you for simplifying! Are you running this on animesh? We just tried to get it working on an animesh and it seemed to work for us.
Jellyfish
Can you simplify this script a bit? I spent a bit of time trying to dig into what it's doing to force it to fail, but it has so many branches I'm not sure if the problem you describe is happening or if the script might just be having problems.