Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Multi-lang}}
{{LSL Function/avatar|id|sim=*}}{{LSL_Function
{{LSL Function/avatar|id|sim=*}}{{LSL_Function
|func_id=162|func_sleep=0.0|func_energy=10.0
|func_id=162|func_sleep=0.0|func_energy=10.0

Revision as of 15:49, 10 December 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 avatar UUID that is in the same region

llGetAgentInfo and llGetAnimationList provide more detailed information about the avatar state then this function does, it is recommended that you use them instead.

Value Description
"Crouching"
"Hovering"
"Hovering Down"
"Hovering Up"
"Jumping"
"PreJumping"
"Running"
Value Description
"Sitting" Sitting on an object.
"Sitting on Ground"
"Standing"
"Striding"
"Flying"
"FlyingSlow"
"Falling Down"
Value Description
"Standing Up" After falling from a great distance.
"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 );