PushParticles

Category: Particles
Since engine version: 1.0 OC

Description

Speeds up all particles of the specified type with a given direction.

Syntax

bool PushParticles(string name, int xacc, int yacc);

Parameters

name:
Name of the particle definition you want to accelerate. If not specified, all particle types will be moved.
xacc:
Horizontal accelleration
yacc:
Vertical accelleration

Example

PushParticles("Smoke", -50, 0);
Blows all smoke particles to the left.
See also: ClearParticles, CreateParticle
Sven2, 2002-04