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

LaserDuration

From ModEnc
Revision as of 20:19, 4 April 2025 by DeathFish (talk | contribs)
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: LaserDuration
File(s): Rules(md).ini
Values: Unsigned integers
Default: 10
Applicable to: Weapons


This flag defines the laser's lifetime, in frames, for IsLaser=yes and IsBigLaser=yes weapons.

Bugs/Side-Effects/Unexpected Limitations

This flag is only correctly read from the object's Primary weapon; If the object has a Secondary laser weapon, it will use the LaserDuration values of the Primary weapon.