Slow,
Modify the scripts so that instead of using the llStartAnimation call, they instead use either osAvatarPlayAnimation or osNpcPlayAnimation.
NPCs do not have permissions, per se, as there is no user attached to the NPC. NPCs are owned, or not, by the creator/owner of the script that created the NPCs.
I've been animating NPCs using the osAvatarPlayAnimation call in my scripts, and there is never a permissions check.
I would recommend modifying the script in question, to check whether the Avatar using the poseball is a User or NPC, using the new osIsNpc call. Pass the key of the Avatar to osIsNpc, and base the permissions check on the return value.
Potential code would look like this:
Code:
if (osIsNpc(avatar_key))
{
osNpcPlayAnimation(name_of_animation);
}
else
{
llRequestPermissions(avatar_key, PERMISSION_TRIGGER_ANIMATION);
llStartAnimation(name_of_animation);
}
Should be simple...
Hope this helps...
