setparticles

Script Reference Particles

setparticles ( object ; speed ; amount ; direction ; rotation ; variation) //Expert

Used for : Generell.

Parameters :

- object - Name of an object.
- speed - pixel per frame.
- amount - Quantity of particles 1-151.
- direction - Direction the particles are falling to 0-360. 0 = down, 90 = left.
- rotation - Rotation in degree per frame.
- variation - Variation of the previous parameters in percentage (no percentage sign)

Description :

Sets the parameters for a particleeffect. You can start and stop particles with startparticles and stopparticles. You can change these parameters while the particle effect is running and the effect will slowly switch to the new parameters. For more information see Particleeffects . All states of the specified object will be used for generating particles.