Difference between revisions of "LlGetAnimation/nl"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Function/avatar|id|sim=*}}{{LSL_Function/nl |func_id=162|func_sleep=0.0|func_energy=10.0 |func=llGetAnimation|return_type=string|p1_type=key|p1_name=id |func_footnote=[[llGetAgentInf...)
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{LSL Function/avatar|id|sim=*}}{{LSL_Function/nl
{{LSL Function/avatar/nl|id|sim=*}}{{LSL_Function/nl
|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
Line 106: Line 106:
|notes
|notes
|permission
|permission
|cat1=Avatar
|cat1=Avatar/nl
|cat2=Animation
|cat2=Animation/nl
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 17:46, 3 May 2009

Functie: 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
"Init"
"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"

Voorbeelden

See Also

Functies

•  llGetAgentInfo
•  llGetAnimationList