Arma 3 Scripting

Command in Particles

setParticleClass

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets particle source parameters using existing particle config from CfgCloudlets class. Use setParticleParams subsequently if you need to overwrite some values.

Important

If CfgCloudlets class contains simple expressions, they will not be evaluated by this command, which might make the whole class unusable in script.

Syntax

source setParticleClass className

Parameters:

Returns: Nothing

Examples

Example 1

_source01 = "#particlesource" createVehicleLocal _pos01;
_source01 setParticleClass "ObjectDestructionFire1Smallx";
_source01 attachTo [_object,[0,0,0]];

See also

Arma 3: Particle Effects · ParticleArray · setParticleParams · setParticleRandom · setParticleCircle · setParticleFire · setDropInterval · drop