Jump to content

IsAnimDelayedFire: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
better wording, added notes, changed links
Rain-Islet (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|yr=yes
|yr=yes
}}
}}
Is there a pre-animation before the building fires, such as the original Prism Tower and Tesla Coil, with the pre-animation specified by [[SpecialAnim]]. When the <tt>SpecialAnim</tt> is played, [[ActiveAnim]] is removed, and switches back only after firing.
Is there a pre-animation before the building fires, such as the original [https://cnc.fandom.com/wiki/Prism_tower_(Red_Alert_2) Prism Tower] and [https://cnc.fandom.com/wiki/Tesla_coil_(Red_Alert_2) Tesla Coil], with the pre-animation specified by <tt>[[SpecialAnim]]</tt>.


With the presence of such an active animation state, <tt>ActiveAnim=>/tt> becomes the idle animation state.
When the <tt>SpecialAnim</tt> is played, <tt>ActiveAnim</tt> is removed, and switches back only after firing.


==Notes==
With the presence of such an active animation state, <tt>[[ActiveAnim]]</tt> becomes the idle animation state.
If {{f|IsAnimDelayedBurst|true|link}} is set, a [[Burst]] weapon will attempt to play the <tt>SpecialAnim=</tt> value entirely for each firing, but when set to <tt>IsAnimDelayedBurst=false</tt>, each burst shot will interrupt/reset the animation to start again.
 
If a Building utilizes a weapon with <tt>[[Burst]]</tt> capability, this effect will be triggered once before each burst.
*Starting from Phobos Build#46, this behavior has become configurable.


==See Also==
==See Also==

Latest revision as of 10:58, 17 April 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsAnimDelayedFire
File(s): Art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


Is there a pre-animation before the building fires, such as the original Prism Tower and Tesla Coil, with the pre-animation specified by SpecialAnim.

When the SpecialAnim is played, ActiveAnim is removed, and switches back only after firing.

With the presence of such an active animation state, ActiveAnim becomes the idle animation state.

If a Building utilizes a weapon with Burst capability, this effect will be triggered once before each burst.

  • Starting from Phobos Build#46, this behavior has become configurable.

See Also

IdleAnim

ProductionAnim