Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{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
|func=llGetAnimation|return_type=string|p1_type=key|p1_name=id|p1_desc=Agent [[UUID]] in the [[sim]].
|func=llGetAnimation|return_type=string|p1_type=key|p1_name=id
|func_footnote=This function isn't all that useful, {{LSLG|llGetAgentInfo}} and {{LSLG|llGetAnimationList}} provide more information in a more useful manner.
|func_footnote=[[llGetAgentInfo]] and [[llGetAnimationList]] provide more detailed information about the avatar state then this function does, it is recommended that you use them instead.
|func_desc
|func_desc
|return_text=that is the name of the currently playing locomotion animation for avatar '''id'''. See the table below.
|return_text=that is the name of the currently playing locomotion animation for avatar '''id'''. See the table below.
Line 100: Line 100:
|notes
|notes
|permission
|permission
|negative_index
|cat1=Avatar
|cat1=Avatar
|cat2=Animation
|cat2=Animation

Revision as of 01:32, 28 September 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 );