Warning: file_put_contents(/ff_93d671d0b6033556271b7cb4cc355d91090f054a9ad34a92.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setParticleFire - OFPEC Scripting Command Reference | OFPEC The Editing Center

source setParticleFire [coreIntensity, coreDistance, damageTime]

Operand types

source: Object
[coreIntensity, coreDistance, damageTime]: Array

Type of returned value


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.

  • coreIntensity: Number - damage in the center of fire

  • coreDistance: Number - how far can unit get damage

  • damageTime: Number - how often is unit getting damage

Used In



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