Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|func_footnote=This function isn't all that useful, {{LSLG|llGetAgentInfo}} and {{LSLG|llGetAnimationList}} provide more information in a more useful manner.
 
|func_footnote=This function isn't all that useful, {{LSLG|llGetAgentInfo}} and {{LSLG|llGetAnimationList}} provide more information in a more useful manner.
 
|func_desc
 
|func_desc
|return_text=that is the name of the currently playing locomotion animation for avatar '''id'''.
+
|return_text=that is the name of the currently playing locomotion animation for avatar '''id'''. See the table below.
 
|spec
 
|spec
 
|caveats
 
|caveats
Line 33: Line 33:
 
{{!}}-
 
{{!}}-
 
{{!}}Sitting
 
{{!}}Sitting
{{!}}This is returned even when the avatar is sitting on something that stopped the generic sit animation and plays its own instead.
+
{{!}}The avatar is sitting on an object.
 
{{!}}-
 
{{!}}-
 
{{!}}Sitting on Ground
 
{{!}}Sitting on Ground

Revision as of 10:26, 9 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
Sitting The avatar is sitting on an object.
Sitting on Ground
Standing
Striding
Flying
FlyingSlow
Falling Down
Standing Up
Landing
Soft Landing
CrouchWalking
Turning Left
Turning Right
Walking

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function string llGetAnimation( key id );