Overrides an entity's animation with another one. This can be used to replace a predefined animation (for example, a 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.
override_animation(entity, anim_to_override, override_with)
override_animation(player, "walk", "silly_walk");
Use the Override Animation function (along with Set Movement Speed) to replace the 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.