Jump to content

IsAnimDelayedFire: Difference between revisions

From ModEnc²
m 1 revision imported
Rain-Islet (talk | contribs)
mNo edit summary
 
(5 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 [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>.


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, <tt>ActiveAnim</tt> is removed, and switches back only after firing.
And when SpecialAnim is played, [[ActiveAnim]] is removed, and after it ends, it switches back to ActiveAnim and starts playing again.
 
In other words, in this case, ActiveAnim becomes the animation relative to Fire in the Idle state.
With the presence of such an active animation state, <tt>[[ActiveAnim]]</tt> becomes the idle animation state.
 
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==
[[ActiveAnim]]
[[IdleAnim]]


[[SpecialAnim]]
[[ProductionAnim]]

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