This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
predefined_animation_names [2021/12/11 14:44] – justin | predefined_animation_names [2024/10/18 11:10] (current) – justin | ||
---|---|---|---|
Line 13: | Line 13: | ||
|attack|Plays whenever the [[character]] executes an attack during combat. The [[animation_types|animation type]] for this would typically be " | |attack|Plays whenever the [[character]] executes an attack during combat. The [[animation_types|animation type]] for this would typically be " | ||
|spawn|Plays whenever the [[character]] is added to a [[map]] using the [[Add Character]] scripting function.| | |spawn|Plays whenever the [[character]] is added to a [[map]] using the [[Add Character]] scripting function.| | ||
+ | |hit|Plays whenever the [[character]] takes damage, for example during combat or from a hazardous trap.| | ||
|death|Plays whenever the [[character]] is killed/ | |death|Plays whenever the [[character]] is killed/ | ||
+ | |revive|Plays whenever the [[character]] is revived using the [[Revive Character]] scripting function.| | ||
|climb|Plays whenever the [[character]] is climbing a [[climbing|climbable tile]]. The first frame of the [[animation]] is displayed when initially grabbing onto the [[tile]].| | |climb|Plays whenever the [[character]] is climbing a [[climbing|climbable tile]]. The first frame of the [[animation]] is displayed when initially grabbing onto the [[tile]].| | ||
+ | |push|Plays whenever the [[character]] is pushing an [[object]]. The first frame of the [[animation]] is displayed when initially grabbing the [[object]].| | ||
+ | |pull|Plays whenever the [[character]] is pulling an [[object]]. If a " | ||
+ | |walk_< | ||
+ | |idle_< | ||
+ | |attack_< | ||
=====Tiles===== | =====Tiles===== | ||
Line 25: | Line 32: | ||
|default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be " | |default|Plays as soon as the [[map]] is loaded. The [[animation_types|animation type]] for this would typically be " | ||
|spawn|Plays whenever the [[object]] is added to a [[map]] using the [[Add Object]] scripting function.| | |spawn|Plays whenever the [[object]] is added to a [[map]] using the [[Add Object]] scripting function.| | ||
- | |move|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and is being moved by the player.| | + | |move|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and is being moved by the player |
|attack|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and the player attacks an enemy.| | |attack|Plays whenever the [[object]] is configured as a [[vehicles|vehicle]] and the player attacks an enemy.| | ||
+ | |move_< | ||
~~NOTOC~~ | ~~NOTOC~~ |