LlResetAnimationOverride
Looking for the current API? Open the llResetAnimationOverride reference →
Wiki description
Resets the animation override of the specified animation state (
anim_state) to the corresponding default value.Function notes
If
anim_state equals "ALL", all animation states are reset.Specification
| Value | Type | Description | Default |
|---|---|---|---|
| "ALL" | Macro | Used to reset all overrides. | |
| "Crouching" | State | crouch | |
| "CrouchWalking" | State | crouchwalk | |
| "Falling Down" | State | falldown | |
| "Flying" | State | fly | |
| "FlyingSlow" | State | Transition between hovering and forward flight. | flyslow |
| "Hovering" | State | hover | |
| "Hovering Down" | State | hover_down | |
| "Hovering Up" | State | hover_up | |
| "Jumping" | State | While still in the air during a jump. | jump |
| "Landing" | Transition | When landing from a jump. | land |
| "PreJumping" | Transition | At the beginning of a jump. | prejump |
| "Running" | State | run | |
| "Sitting" | State | Sitting on an object (and linked to it). | sit |
| "Sitting on Ground" | State | Sitting, but not linked to an object."Sit down" on the avatar context menu allows ground sits anywhere: atop the terrain, objects or even in the air. | sit_ground_constrained |
| "Standing" | State | stand | |
| "Standing Up" | Transition | After falling a great distance. Sometimes referred to as Hard Landing. | standup |
| "Striding" | State | When the avatar is stuck on the edge of an object or on top of another avatar. | stride |
| "Soft Landing" | Transition | After falling a small distance. | soft_land |
| "Taking Off" | State | hover_up | |
| "Turning Left" | State | turnleft | |
| "Turning Right" | State | turnright | |
| "Walking" | State | walk |
See also: functions
See also: articles
History
Date of Release 12/04/2013
Shared wiki helpers
The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.
Template:LSL Function/permission
Original shared helper source (conditional wiki logic is not evaluated)
{{#if:
{{{{#if:{{#var:DEBUG_CHANNEL}}||:DEBUG_CHANNEL}}|}}
{{#vardefine:header_footnote|{{#var:header_footnote}}{{#if:{{{1|<noinclude>*</noinclude>}}}|To run this function the script must request the [[{{{1}}}]] {{#if:{{{2|}}}|or [[{{{2}}}]]}} permission with [[llRequestPermissions]]{{#ifeq:{{{grant|anyone}}}|anyone|| and it must be granted by {{{grant|anyone}}}}}.}}}}
{{#vardefine:caveats|{{#var:caveats}}{{#if:{{{1|<noinclude>*</noinclude>}}}|{{PBR}}
<div style="border: 1px dotted rgba(0,0,0,0.5);">{{Collapsible_Table/Simple|title=<h5 style="margin:0;">Permissions</h5>|table-style=width:100%;|autocollapse=*|content={{!}}<div>
* Do not depend upon the auto-grant status of permissions. '''Always''' use the [[run_time_permissions]] event.
* If the script lacks {{#if:{{{2|}}}|both the permissions [[{{{1}}}]] and [[{{{2}}}]]|the permission [[{{{1}}}]]}}, the script will shout an error on {{#var:DEBUG_CHANNEL}} and the operation fails (but the script continues to run).{{#ifeq:{{{grant|anyone<noinclude>*</noinclude>}}}|anyone||
* If [[{{{1}}}]] {{#if:{{{2|}}}|or [[{{{2}}}]]}} is granted by anyone other than {{{grant|anyone}}}, then when the function is called an error will be shouted on {{#var:DEBUG_CHANNEL}}.}}
{{{caveats|}}}{{LSL Function/permission/caveat switch|{{{1}}}}}{{#if:{{{2|}}}|{{LSL Function/permission/caveat switch|{{{2}}}}}}}</div>}}</div>}}}}
{{#vardefine:also_events|{{#var:also_events}}
{{LSL DefineRow||[[run_time_permissions]]|Permission receiving event}}}}
{{#vardefine:also_functions|{{#var:also_functions}}
{{LSL DefineRow||[[llGetPermissions]]|Get the permissions granted}}
{{LSL DefineRow||[[llGetPermissionsKey]]|Get the agent who granted permissions}}
{{LSL DefineRow||[[llRequestPermissions]]|Request permissions}}}}
{{#vardefine:also_articles|{{#var:also_articles}}
{{LSL DefineRow||[[:Category:LSL Permissions/Script|Script permissions]]|}}}}
<includeonly>{{#if:{{{nc|}}}||{{#vardefine:hidden-text|{{#var:hidden-text}}
{{#if:{{#pos:{{#var:moded}}|r}}{{#pos:{{#var:moded}}|u}}||[[Category:LSL Requires Permissions]]}}
}}}}</includeonly>
}}<noinclude>
{| {{Prettytable}}
|-{{Hl2}}
! #var
! value
|-
{{VarPair|header_footnote}}
|-
{{VarPair|caveats}}
|-
{{VarPairTable|also_events}}
|-
{{VarPairTable|also_functions}}
|-
{{VarPairTable|also_articles}}
|}
</noinclude>Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.