Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.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

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.

  • 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

Arma3

Example

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

Advertisement