Difference between revisions of "LlStartAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m (removing deprecated flags)
Line 1: Line 1:
{{LSL_Function/inventory|anim|uuid=false|type}}{{LSL_Function
{{LSL_Function/permission|PERMISSION_TRIGGER_ANIMATION}}{{LSL_Function/inventory|anim|uuid=false|type}}{{LSL_Function
|func_id=129|func_sleep=0.0|func_energy=10.0
|func_id=129|func_sleep=0.0|func_energy=10.0
|func=llStartAnimation|sort=StartAnimation
|func=llStartAnimation|sort=StartAnimation
Line 16: Line 16:
|also_articles={{LSL DefineRow||[[Internal_Animations]]|lists internal Animations always available}}
|also_articles={{LSL DefineRow||[[Internal_Animations]]|lists internal Animations always available}}
|notes
|notes
|permission=PERMISSION_TRIGGER_ANIMATION
|inventory
|negative_index
|cat1=Animation
|cat1=Animation
|cat2
|cat2

Revision as of 16:29, 20 July 2007

Summary

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

Start animation anim for agent that owns 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 );