This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
override_animation [2018/03/16 09:46] – justin | override_animation [2020/07/23 17:02] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Overrides an entity' | + | Overrides an [[entity|entity' |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |entity|Entity | + | |entity|[[Entity]] to override the [[animation]] for.|[[Entity]]|Yes| |
- | |anim_to_override|Name of the animation that will be overridden.|[[String]]|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| | + | |override_with|Name of the [[animation]] to use in place of the overridden one.|[[String]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
override_animation(player, | override_animation(player, | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Override Animation** function (along with [[Set Movement Speed]]) to replace the player' | + | Use the **Override Animation** function (along with [[Set Movement Speed]]) to replace the [[player_character|player |
</ | </ | ||
Line 29: | Line 29: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki: | + | {{: |
</ | </ | ||
</ | </ |