Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

animation or script error?

Kitari Elfenbeim
Registered User
Join date: 28 Apr 2008
Posts: 7
08-08-2008 17:17
In a build Im working on Im getting following script error.. < Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION permission not set >

What exactly does the error mean? Is there a script issue or something do with the animations in the object?

Thanks :)
Sturm Hellershanks
Registered User
Join date: 22 Jun 2008
Posts: 9
08-08-2008 17:34
It's a script thing. From the script perspective, you are basically are trying to stop an animation on an avatar that you don't have permission to manipulate in the first place.

At the beginning of your script, you would have to request permission to animate the av using llRequestPermissions . If you did request permission (and assuming it was granted) then for some reason the permission is not carrying to wherever the llStopAnimation is being executed -- possibly if the llStopAnimation is in a different 'state' than where the permissions were obtained?

http://wiki.secondlife.com/wiki/LlRequestPermissions

If you're still having trouble, try posting the script here.
Talon Brown
Slacker Punk
Join date: 17 May 2006
Posts: 352
08-08-2008 17:49
Just an idle observation but I've noticed that a lot of the freebie poseball scripts tend to have these sorts of errors pop up, especially in odd cases where people just log off or TP away while on a poseball, and it can be quite annoying to debug unless you go through the script with a fine tooth comb making sure every possible situation that could lead to this is taken into account.
Beezle Warburton
=o.O=
Join date: 10 Nov 2006
Posts: 1,169
08-11-2008 16:41
if (llGetPermissions() & PERMISSION_TRIGGER_ANIMATION)
{
llStopAnimation(animation_name);
}
_____________________
Though this be madness, yet there is method in't.
-- William Shakespeare

Warburton's Whimsies:
In SL
Apez.biz