User Tools

Site Tools


override_animation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
override_animation [2017/08/31 19:00] justinoverride_animation [2018/03/16 09:46] justin
Line 4: Line 4:
 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 name for both parameters to revert that animation to its original settings. 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 name for both parameters to revert that animation to its original settings.
  
 +====Signature:====
 <code python> <code python>
 override_animation(entity, anim_to_override, override_with) override_animation(entity, anim_to_override, override_with)
Line 20: Line 21:
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Override Animation** function (along with [[Set Movement Speed]]) to replace the player's default walking animation with a running animation when traversing the wilderness or to with a staggering animation when they've suffered an injury.+Use the **Override Animation** function (along with [[Set Movement Speed]]) to replace the player's default walking animation with a running animation when traversing the wilderness or with a staggering animation when they've suffered an injury.
 </WRAP> </WRAP>
  
override_animation.txt · Last modified: 2021/04/21 18:37 by justin