Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
Line 15: Line 15:
!Value
!Value
!Description
!Description
{{!}}-
{{!}}""
{{!}}During logout
{{!}}-
{{!}}-
{{!}}"Crouching"
{{!}}"Crouching"
Line 39: Line 42:
{{!}}"Hovering Up"
{{!}}"Hovering Up"
{{!}}
{{!}}
{{!}}-
{{!}}"Jumping"
{{!}}While still in the air during a jump.
{{!}}-
{{!}}"Landing"
{{!}}When landing from a jump.
{{!}}-
{{!}}"PreJumping"
{{!}}At the beginning of a jump.
{{!}}}
{{!}}}
{{!}}
{{!}}
Line 45: Line 57:
!Value
!Value
!Description
!Description
{{!}}-
{{!}}""
{{!}}During logout
{{!}}-
{{!}}-
{{!}}"Init"
{{!}}"Init"
{{!}}At login and after teleports.
{{!}}At login and after teleports.
{{!}}-
{{!}}"Jumping"
{{!}}While still in the air during a jump.
{{!}}-
{{!}}"Landing"
{{!}}When landing from a jump.
{{!}}-
{{!}}"PreJumping"
{{!}}At the beginning of a jump.
{{!}}-
{{!}}-
{{!}}"Running"
{{!}}"Running"
Line 69: Line 69:
{{!}}"Sitting on Ground"
{{!}}"Sitting on Ground"
{{!}}Sitting on the terrain.
{{!}}Sitting on the terrain.
{{!}}}
{{!}}
{{{!}}{{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
!Value
!Description
{{!}}-
{{!}}-
{{!}}"Standing"
{{!}}"Standing"
Line 83: Line 77:
{{!}}-
{{!}}-
{{!}}"Striding"
{{!}}"Striding"
{{!}}Used when the avatar stuck on the edge of an object or on top of another avatar.
{{!}}When the avatar is stuck on the edge of an object or on top of another avatar.
{{!}}-
{{!}}-
{{!}}"Soft Landing"
{{!}}"Soft Landing"

Revision as of 17:35, 30 March 2009

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
"" During logout
"Crouching"
"CrouchWalking"
"Falling Down"
"Flying"
"FlyingSlow"
"Hovering"
"Hovering Down"
"Hovering Up"
"Jumping" While still in the air during a jump.
"Landing" When landing from a jump.
"PreJumping" At the beginning of a jump.
Value Description
"Init" At login and after teleports.
"Running"
"Sitting" Sitting on an object.
"Sitting on Ground" Sitting on the terrain.
"Standing"
"Standing Up" After falling a great distance. Sometimes referred to as Hard Landing.
"Striding" When the avatar is stuck on the edge of an object or on top of another avatar.
"Soft Landing" After falling a small distance.
"Taking Off"
"Turning Left"
"Turning Right"
"Walking"

Caveats

  • This function can return an empty string while the avatar is logging out.
  • New return values could conceivably be added at any time and this list may not in-fact be complete. Scripts should be written under the assumption that they may receive a value they won't recognize.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetAgentInfo
•  llGetAnimationList

Deep Notes

Search JIRA for related Issues

Signature

function string llGetAnimation( key id );