Skip to content

StateAIAdvance

The frames a particle spends in each animation state.

Specification
Applies to
ParticleType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
4

Particles of a type do not step together: those with an odd internal identifier hold each state one frame longer than this, and the count each particle is measured against is offset by that same identifier. A cloud spawned in one burst therefore drifts out of step within a few states instead of animating in lockstep. Gas, WeakGas, Smoke, Fire and Web particles all use the interval; Spark and Railgun particles have no state machine and ignore it.

A Fire particle marked Normalized=yes discards the figure and works its own interval out from its flight. That result is kept in one signed byte, so a computed interval above 127 wraps to a much smaller or negative one, and can land on 0 or -1. The figure written here is truncated to the same byte.