Jump to content

LaserDuration

From ModEnc²
Revision as of 23:53, 8 November 2022 by en>Crimsonum (Added info about a bug related to the flag)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: LaserDuration
File(s): Rules(md).ini
Values: Unsigned integers
Default: 0?
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.