Jump to content

Lifetime

From ModEnc²
Revision as of 10:54, 28 February 2024 by en>Crimsonum (Added some notes.)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Lifetime
File(s): Rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default:
Applicable to: ParticleSystems


Specifies the maximum time, in frames, for which this particle system can exist. Defaults to -1 which means infinite.

Notes

  • Most particle system behavior types cause the system to be deleted as soon as it stops spawning more particles, with the exception of gas and weak gas systems – these systems will not expire unless limited with Lifetime.
    • Note that the particle system [GasCloudSys] must not have a limited Lifetime else the game will crash when that system is created.