Difference between revisions of "LlStartAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m (removing deprecated flags)
m (Avatars sitting on an object don't have to own them to be affected by this call)
Line 4: Line 4:
|p1_type=string|p1_name=anim
|p1_type=string|p1_name=anim
|func_footnote
|func_footnote
|func_desc=Start animation '''anim''' for agent that owns object
|func_desc=Start animation '''anim''' for agent that owns or is sitting on object
|return_text
|return_text
|spec
|spec

Revision as of 09:03, 15 September 2007

Summary

Function: llStartAnimation( string anim );
0.0 Forced Delay
10.0 Energy

Start animation anim for agent that owns or is sitting on object

• string anim an item in the inventory of the prim this script is in

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 then an error is shouted on DEBUG_CHANNEL.

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
•  llStopAnimation

Articles

•  Script permissions
•  Internal_Animations lists internal Animations always available

Deep Notes

Signature

function void llStartAnimation( string anim );