Stops the animation anim
. In order for this to work, the script
must have the PERMISSION_TRIGGER_ANIMATION
on an avatar
. See llRequestPermissions
for more information on permissions.
must be in the prim's inventory. Except for built-in animations
and unlike llStartAnimation
can also stop an animation
It is usually good practice to check llGetPermissions
. Otherwise this message might appear:
"Script trying to stop animations but PERMISSION_TRIGGER_ANIMATION
permission not set".
Note: while the official
docs and editor help tool tip claim: "This function stops animation anim
for the avatar that owns the object.", that is incorrect; as long as permissions have been granted, any avatar's animations can be stopped using llStopAnimation
for a current list of animation names.
shows an example of this function's use (it is the freely-distributed animation script many people use).
an animation, use llStartAnimation
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.