setParticleFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 27: Line 27:
|p5= damageTime: [[Number]] - how often is unit getting damage
|p5= damageTime: [[Number]] - how often is unit getting damage


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_emitter = "#particlesource" [[createVehicleLocal]] ([[getPos]] [[player]]);
|x1= <code>_emitter = "#particlesource" [[createVehicleLocal]] ([[getPos]] [[player]]);

Revision as of 10:20, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Particles

Syntax

Syntax:
Syntax needed
Parameters:
source: Object
[coreIntensity, coreDistance, damageTime]: Array
coreIntensity: Number - damage in the center of fire
coreDistance: Number - how far can unit get damage
damageTime: Number - how often is unit getting damage
Return Value:
Nothing

Examples

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

Additional Information

See also:
Arma 3: Particle EffectsParticleArraysetParticleParamssetParticleRandomsetParticleCirclesetDropIntervaldropsetParticleClass

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Posted on April 9, 2018 - 20:44 (UTC)
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.