Jump to content

ExpireAnim: Difference between revisions

From ModEnc²
en>Crimsonum
m Added flag header.
en>Crimsonum
Note about damage.
Line 14: Line 14:
}}
}}


Can be set on [[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 [[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.


==See also==
==See also==

Revision as of 21:19, 5 April 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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.

See also