This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
override_animation [2017/08/31 18:44] – justin | override_animation [2020/07/23 16:46] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Overrides an entity' | + | Overrides an [[entity|entity' |
+ | ====Signature: | ||
<code python> | <code python> | ||
override_animation(entity, | override_animation(entity, | ||
Line 9: | 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 to . | + | Use the **Override Animation** function |
</ | </ | ||