Difference between revisions of "LlGetAnimation"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 6: Line 6:
|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.
|spec
|spec
|caveats=This function can return an empty string while the avatar is logging out.
|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.
|constants={{{!}}
|constants={{{!}}
{{!}}-valign="top"
{{!}}-valign="top"
{{!}}
{{!}}
{{{!}}{{Prettytable}}
{{{!}}{{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!Value
!Value
Line 40: Line 41:
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}}{{Prettytable}}
{{{!}}{{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!Value
!Value
Line 70: Line 71:
{{!}}}
{{!}}}
{{!}}
{{!}}
{{{!}}{{Prettytable}}
{{{!}}{{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!Value
!Value

Revision as of 08:18, 23 May 2008

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"
"CrouchWalking"
"Falling Down"
"Flying"
"FlyingSlow"
"Hovering"
"Hovering Down"
"Hovering Up"
Value Description
"" During logout
"Init" At login and after teleports.
"Jumping"
"Landing"
"PreJumping"
"Running"
"Sitting" Sitting on an object.
"Sitting on Ground"
Value Description
"Standing"
"Standing Up" After falling a great distance.
"Striding"
"Soft Landing"
"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 );