max_particles

This variable determines the maximum number of particles, lines and decals that can be visible at the same time.

Range:

0 .. unlimited (default: 10000)

Type:

var

Remarks:

Must be set before the first wait or level_load call.

Example:

function main()
{
  max_particles = 1000; // allows only 1000 Particles 
  ...

See also:

max_entities, num_particles, effect, ent_decal

► latest version online