Jump to content

LaserDuration: Difference between revisions

From ModEnc²
en>DCoder
Rewrite
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
|files={{Categ|Rules(md).ini}}
|files={{Categ|Rules(md).ini}}
|values=Unsigned integers
|values=Unsigned integers
|special=None
|default=0?
|default=0?
|types={{Categ|Weapon|Weapons}}
|types={{Categ|Weapon|Weapons}}
|games=[[TS]], [[RA2]], [[YR]]
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
}}


This flag defines the laser's lifetime, in frames, for <tt>[[IsLaser]]=yes</tt> and <tt>[[IsBigLaser]]=yes</tt> weapons.
This flag defines the laser's lifetime, in frames, for <tt>[[IsLaser]]=yes</tt> and <tt>[[IsBigLaser]]=yes</tt> weapons.
=={{bugs}}==
This flag is only correctly read from the object's {{f|Primary|link}} weapon; If the object has a {{f|Secondary|link}} [[IsLaser|laser]] weapon, it will use the {{f|{{PAGENAME}}}} values of the {{f|Primary}} weapon.

Latest revision as of 17:33, 2 July 2025

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.