ExpireAnim: Difference between revisions
Appearance
en>Crimsonum Note about damage. |
m 6 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 13: | Line 13: | ||
|ares=yes | |ares=yes | ||
}} | }} | ||
Can be set on [[bouncer]] [[Animations]] and [[VoxelAnims]] and defines an animation to be invoked when the animation expires due to contact with the ground (or perhaps other solid objects). {{f|ExpireAnim}} is not invoked if the animation expires due to having played through all its [[frames]], or [[LoopCount|loops]]. | Can be set on [[bouncer]] [[Animations]] and [[VoxelAnims]] and defines an animation to be invoked when the animation expires due to contact with the ground (or perhaps other solid objects). {{f|ExpireAnim}} is not invoked if the animation expires due to having played through all its [[frames]], or [[LoopCount|loops]]. | ||
Should this animation deal [[damage]], {{f|ExpireAnim}} must refer to a valid animation, else no damage is dealt. | Should this animation deal [[damage]], {{f|ExpireAnim}} must refer to a valid animation, else no damage is dealt. | ||
==Note== | |||
*Animations that are defined in the '''ExpireAnim''' does not need to be listed at [[Animations]] If the name of the main animation is already specified in the [[Animations]] section<br> | |||
For example:<br> | |||
[ [[Animations]] ]<br> | |||
'''1=TWLT100'''<br> | |||
...<br> | |||
--Artmd.ini<br> | |||
'''[TWLT100]'''<br> | |||
'''ExpireAnim=[[Animations]]'''<br> | |||
==See also== | ==See also== | ||
Latest revision as of 21:41, 31 March 2025
|
|
|
|
|
|
| Flag: | ExpireAnim |
| File(s): | art(md).ini |
| Values: | Strings: Normal text. (Limited to: Animations) |
| Default: | none |
Can be set on bouncer Animations and VoxelAnims and defines an animation to be invoked when the animation expires due to contact with the ground (or perhaps other solid objects). ExpireAnim is not invoked if the animation expires due to having played through all its frames, or loops.
Should this animation deal damage, ExpireAnim must refer to a valid animation, else no damage is dealt.
Note
- Animations that are defined in the ExpireAnim does not need to be listed at Animations If the name of the main animation is already specified in the Animations section
For example:
[ Animations ]
1=TWLT100
...
--Artmd.ini
[TWLT100]
ExpireAnim=Animations
See also
- Next
- Spawns and SpawnCount
- TrailerAnim and TrailerSeperation





