DeleteOnStateLimit
Kills a particle the moment its animation reaches the last state.
Specification
- Applies to
- ParticleType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- boolean
- When omitted
no
Without it, a particle that reaches EndStateAI is not finished: a Gas, WeakGas or Web particle restarts its sequence at state 0 and plays it again, and a Smoke or Fire particle simply stops advancing and holds its last frame. In every case the particle then goes on until MaxEC runs out, so the setting decides whether the animation or the lifetime ends the particle.
Whichever of the two comes first still ends it, so a particle whose sequence is longer than its lifetime disappears mid-animation with the flag set or not. Spark and Railgun particles never advance a state, so the flag can do nothing for them; a spark ends where it strikes something or when its lifetime expires.