Jump to content

Lifetime: Difference between revisions

From ModEnc²
en>Crimsonum
Added some notes.
m 4 revisions imported
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
}}
}}


Specifies the maximum time, in [[frames]], for which this particle system can exist. Defaults to -1 which means infinite.
Specifies the maximum time, in [[frames]], for which this particle system can exist. Defaults to -1 which means infinite.<br>The more valuable The next attack would only have to wait so long, [[ROF]] will be ignored.


== Notes ==
== Notes ==
* Most particle system [[BehavesLike|behavior types]] cause the system to be deleted as soon as it stops [[Spawns|spawning]] more particles, with the exception of [[BehavesLike|gas and weak gas systems]] – these systems will not expire unless limited with {{f|Lifetime}}.
* Most particle system [[BehavesLike|behavior types]] cause the system to be deleted as soon as it stops [[Spawns|spawning]] more particles, with the exception of [[BehavesLike|gas and weak gas systems]] – these systems will not expire unless limited with {{f|Lifetime}}.
** {{W}} Note that the particle system {{tt|[GasCloudSys]}} must ''not'' have a limited {{f|Lifetime}} [[Internal_Error#eip_005A59B4|else the game will crash]] when that system is created.
** {{W}} Note that the particle system {{tt|[GasCloudSys]}} must ''not'' have a limited {{f|Lifetime}} [[Internal_Error#eip_005A59B4|else the game will crash]] when that system is created.

Latest revision as of 21:56, 31 March 2025

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.
The more valuable The next attack would only have to wait so long, ROF will be ignored.

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.