Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
PushParticles
Category:
Particle
Since engine version:
4.9.1.0 GWE
Description
Speeds up all particles of the specified type with a given direction.
Syntax
bool
PushParticles (
string
szName,
int
iAX,
int
iAY);
Parameters
szName:
Name of the particle definition you want to accellerate. If 0, all particle types will be moved.
iAX:
Horizontal accelleration
iAY:
Vertical accelleration
Example
PushParticles(
"Smoke"
, -50, 0);
Blows all smoke particles to the left.
See also:
ClearParticles
,
CreateParticle
Sven2, April 2002
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script