======Override Animation======
----
Overrides an [[entity|entity's]] [[animation]] with another one. This can be used to replace a [[predefined_animation_names|predefined animation]] (for example, a [[character|character's]] "walk" [[animation]]) with a custom one during the game. You can specify the same default name (for example, "walk") for both parameters to revert that [[animation]] to its original settings.
====Signature:====
override_animation(entity, anim_to_override, override_with)
^Argument^Description^Type^Required^
|entity|[[Entity]] to override the [[animation]] for.|[[Entity]]|Yes|
|anim_to_override|Name of the [[animation]] that will be overridden.|[[String]]|Yes|
|override_with|Name of the [[animation]] to use in place of the overridden one.|[[String]]|Yes|
====Example:====
override_animation(player, "walk", "silly_walk");
//Results:// Until reverted, the "silly_walk" [[animation]] will be used whenever the [[player character]] is walking instead of their default "walk" [[animation]].
Use the **Override Animation** function (along with [[Set Movement Speed]]) to replace the [[player_character|player character's]] default walking [[animation]] with a running [[animation]] when traversing the wilderness or with a staggering [[animation]] when they've suffered an injury.
----
====Editor Node:====
{{:override_animation_node.png?nolink|}}
====Visual Demo:====
{{:override_animation_demo.gif?nolink|}}
~~NOTOC~~