setParticleFire: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Locality)
No edit summary
Line 55: Line 55:
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on April 9, 2018 - 20:44 (UTC)</dd>
<dt class="note">[[User:AgentRev|AgentRev]]</dt>
<dd class="note">
Server and headless AI units seem immune to the effects of this command.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 21:44, 9 April 2018

Hover & click on the images for description

Description

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 ];
Groups:
Uncategorised

Syntax

Syntax:
source setParticleFire [coreIntensity, coreDistance, damageTime]
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

Notes

Bottom Section

Posted on April 9, 2018 - 20:44 (UTC)
AgentRev
Server and headless AI units seem immune to the effects of this command.