Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
Line 89: Line 89:
|examples
|examples
|helpers
|helpers
|also_functions=*{{LSLG|llGetAgentInfo}}
|also_functions={{LSL DefineRow||[[llGetAgentInfo]]|}}
*{{LSLG|llGetAnimationList}}
{{LSL DefineRow||[[llGetAnimationList]]|}}
|also_events
|also_events
|also_tests
|also_tests
Line 100: Line 100:
|cat2=Animation
|cat2=Animation
|cat3
|cat3
|cat4=Stub
|cat4
}}
}}

Revision as of 00:05, 28 February 2007

Summary

Function: string llGetAnimation( key id );

Returns a string that is the name of the currently playing locomotion animation for avatar id. See the table below.

• key id Agent UUID in the sim.

This function isn't all that useful, llGetAgentInfo and llGetAnimationList provide more information in a more useful manner.

Value Description
"Crouching"
"Hovering"
"Hovering Down"
"Hovering Up"
"Jumping"
"PreJumping"
"Running"
Value Description
"Sitting" The avatar is sitting on an object.
"Sitting on Ground"
"Standing"
"Striding"
"Flying"
"FlyingSlow"
"Falling Down"
Value Description
"Standing Up"
"Landing"
"Soft Landing"
"CrouchWalking"
"Turning Left"
"Turning Right"
"Walking"

Examples

See Also

Functions

•  llGetAgentInfo
•  llGetAnimationList

Deep Notes

Search JIRA for related Issues

Signature

function string llGetAnimation( key id );