Difference between revisions of "LlStopAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{LSL_Function/inventory|anim|uuid=true|type=animation}}{{LSL_Function
{{LSL_Function/permission|PERMISSION_TRIGGER_ANIMATION}}{{LSL_Function/inventory|anim|uuid=true|type=animation}}{{LSL_Function
|func_id=130|func_sleep=0.0|func_energy=10.0
|func_id=130|func_sleep=0.0|func_energy=10.0
|func=llStopAnimation|sort=StopAnimation
|func=llStopAnimation|sort=StopAnimation
Line 16: Line 16:
|also_articles
|also_articles
|notes
|notes
|permission=PERMISSION_TRIGGER_ANIMATION
|inventory
|inventory
|negative_index
|negative_index

Revision as of 17:28, 20 July 2007

Summary

Function: llStopAnimation( string anim );

Stop animation anim for agent that owns object

• string anim an animation in the inventory of the prim this script is in or a UUID of an animation

To run this function the script must request the PERMISSION_TRIGGER_ANIMATION permission with llRequestPermissions.

Caveats

Permissions
  • If anim is missing from the prim's inventory and it is not a UUID or it is not an animation then an error is shouted on DEBUG_CHANNEL.
  • If anim is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Events

•  run_time_permissions Permission receiving event

Functions

•  llGetPermissions Get the permissions granted
•  llGetPermissionsKey Get the agent who granted permissions
•  llRequestPermissions Request permissions

Articles

•  Script permissions

Deep Notes

Search JIRA for related Issues

Signature

function void llStopAnimation( string anim );