Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m (fixe)
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 12:01, 29 January 2008

Summary

Function: string llGetAnimation( key id );
0.0 Forced Delay
10.0 Energy

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

Signature

function string llGetAnimation( key id );