Difference between revisions of "LlGetAnimation"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 2: | Line 2: | ||
|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 | |func=llGetAnimation|return_type=string|p1_type=key|p1_name=id | ||
|func_footnote=[[llGetAgentInfo]] | |func_footnote=[[llGetAgentInfo]] provides information on some animation states not covered by this function (typing, away, busy). [[llGetAnimationList]] provides more detailed information about the running animations, but may not reflect avatar state as accurately as llGetAnimation. | ||
|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. |
Revision as of 20:09, 1 May 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetAnimation( key id );162 | Function 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 provides information on some animation states not covered by this function (typing, away, busy). llGetAnimationList provides more detailed information about the running animations, but may not reflect avatar state as accurately as llGetAnimation.
|
|
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.
Examples
See Also
Functions
• | llGetAgentInfo | |||
• | llGetAnimationList |