Arma 3 Scripting

Command in Particles

setParticleFire

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

Description

Set fire parameters to particle effect.

Note: You need to create emitter at first. Basic parameters of particle effect must be defined too. You can use script commands setParticleClass or setParticleParams to do so (see example). Correspondence between CfgCloudlets class param names and command array of params:

particleSource setParticleFire
[
    coreIntensity,
    coreDistance,
    damageTime
];

Syntax

source setParticleFire [coreIntensity, coreDistance, damageTime]

Parameters:

Returns: Nothing

Examples

Example 1

_emitter = "#particlesource" createVehicleLocal (getPos player);
_emitter setParticleClass "MediumSmoke";
_emitter setParticleFire [0.3,1.0,0.1];

See also

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

Community notes

AgentRev

Using this command on a dedicated server or headless client seems to have no effect on local AI units, they will walk thru the fire unscathed.