LaserDuration
How many frames a laser beam stays drawn for.
Specification
- Applies to
- WeaponType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- integer
- When omitted
10
The beam advances one stage each frame and is taken off the screen once it reaches this figure, so the value is a lifetime in game frames — fifteen to the second. It governs only the colored line; the screen glow that accompanies a laser shot fades on its own fixed schedule of about 22 frames.
[MyObeliskRay] ; example WeaponTypeIsLaser=yesLaserDuration=15 ; one secondLike the rest of the beam settings, the figure is taken from the weapon in the object’s first slot whichever slot actually fired.
See also —
IsLaser, IsBigLaser