ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

ExpireAnim

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: ExpireAnim
File(s): rules(md).ini for VoxelAnims, art(md).ini for Animations
Values: Strings: Normal text. (Limited to: Animations)
Default: none
Applicable to: VoxelAnims, Animations


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).

Notes

For Shape debris, ExpireAnim is not invoked if the animation expires due to having played through all its frames, or loops. However, for Voxel debris, if it ends due to exceeding the time set by Duration, the ExpireAnim can still be created normally without requiring a hit.

Should this animation deal damage, ExpireAnim must refer to a valid animation, else no damage is dealt.

If debris falls on a tile where LandType is water, the animation from [CombatDamage]SplashList= will replace the ExpireAnim animation. For regular debris, the first animation in the list will always be used; for IsMeteor=yes, the last animation in the list will always be used.

See Also