Jump to content

IsLaser

From ModEnc²
Revision as of 23:48, 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: IsLaser
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: Weapons


If set, the game will draw a laser along the projectile path. The laser's lifetime is defined by LaserDuration, and its colors are defined by LaserInnerColor, LaserOuterColor, LaserOuterSpread and IsHouseColor.

Bugs/Side-Effects/Unexpected Limitations This flag is only correctly read from the object's Primary weapon; If the object's Secondary weapon has IsLaser=yes but the Primary does not, then no laser is drawn for the Secondary.