Resets the animation override of the specified animation state (anim_state) to the corresponding default value.

Syntax

void llResetAnimationOverride( string anim_state );

Forced delay: 0.0 seconds. Energy: ?.

Parameters

string anim_state
animation state to be reset

To run this function the script must request the PERMISSION_OVERRIDE_ANIMATIONS permission with llRequestPermissions.

If anim_state equals "ALL", all animation states are reset.

Constants

ValueTypeDescriptionDefault
"ALL"MacroUsed to reset all overrides.
"Crouching"Statecrouch
"CrouchWalking"Statecrouchwalk
"Falling Down"Statefalldown
"Flying"Statefly
"FlyingSlow"StateTransition between hovering and forward flight.flyslow
"Hovering"Statehover
"Hovering Down"Statehover_down
"Hovering Up"Statehover_up
"Jumping"StateWhile still in the air during a jump.jump
"Landing"TransitionWhen landing from a jump.land
"PreJumping"TransitionAt the beginning of a jump.prejump
"Running"Staterun
"Sitting"StateSitting on an object (and linked to it).sit
"Sitting on Ground"StateSitting, but not linked to an object.[1]sit_ground_constrained
"Standing"Statestand
"Standing Up"TransitionAfter falling a great distance. Sometimes referred to as Hard Landing.standup
"Striding"StateWhen the avatar is stuck on the edge of an object or on top of another avatar.stride
"Soft Landing"TransitionAfter falling a small distance.soft_land
"Taking Off"Statehover_up
"Turning Left"Stateturnleft
"Turning Right"Stateturnright
"Walking"Statewalk

Caveats

Permissions

See also

Events

Functions

Articles

Deep notes

History

Date of Release 12/04/2013

Footnotes

  1. "Sit down" on the avatar context menu allows ground sits anywhere: atop the terrain, objects or even in the air.