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

Difference between revisions of "ActiveAnimPoweredLight"

From ModEnc
Jump to: navigation, search
(Undo revision 21792 by 4SG (talk))
(Undo revision 21787 by 4SG (talk))
 
Line 14: Line 14:
  
  
Turns off the animation on low power. If the building has [[IsAnimDelayedFire]] set to true and the animation is [[SpecialAnim]], [[ActiveAnim]] is enabled if [[ActiveAnimPowered]] is set to true as it is normally hidden while [[SpecialAnim]] is visible for such buildings.
+
This flag, if set to yes, will render an active animation as invisible if the building it is attached to is underpowered. The flag only works in the specific events that the building is [[Powered]]=yes, and the active animation is also [[ActiveAnimPowered]]=no.  
  
 
{{bugs}}
 
{{bugs}}

Latest revision as of 01:05, 30 March 2022

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: ActiveAnimPoweredLight
File(s): Art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: BuildingTypes



This flag, if set to yes, will render an active animation as invisible if the building it is attached to is underpowered. The flag only works in the specific events that the building is Powered=yes, and the active animation is also ActiveAnimPowered=no.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

In Tiberian Sun and Firestorm, if set on a building, this flag causes the building's ActiveAnim to play as soon as the building is deployed, instead of waiting for the buildup animation to be finished first.

See Also