Jump to content

ActiveAnimPoweredLight: Difference between revisions

From ModEnc²
en>Crimsonum
Restored bug section and specified that it's a TS bug.
en>4SG
Added findings in a study done by Starkku.
Line 14: Line 14:




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


{{bugs}}
{{bugs}}

Revision as of 00:17, 30 March 2022

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



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.

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