SetParticlesLife

Description

Sets the life of particles once they have been emitted in seconds. After particles have been alive for the given number of seconds they will disappear. This is one of the two values that affects the number of particles generated, the other being SetParticlesFrequency. The maximum number of particles that can be on screen at any one time is freq*life, with freq being the number of particles emitted per second. This value is independent of frame rate.

Definition

SetParticlesLife( ID, time )

Parameters