Skip to content

Lifetime

How many frames a particle system runs before it is retired.

Specification
Applies to
ParticleSystemType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
-1

The count runs down one a frame from the moment the system appears and is the one retirement condition every behavior shares — the others each carry at most one of their own, and Gas, WeakGas and Web carry none. Reaching the end stops a smoke, fire or railgun system emitting; the particles it already made are left to die in their own time, and the system goes once the last of them has. A spark system is not stopped by it and goes on throwing bursts until its own SparkSpawnFrames run out.

rules.ini
[MyGasPuffSys] ; a ParticleSystemType registered in [ParticleSystems]
BehavesLike=WeakGas
HoldsWhat=MyWeakGas ; a ParticleType registered in [Particles]
Lifetime=3