setParticleFire: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.08 | |1.08 | ||
|arg= global | |arg= global | ||
|eff= local | |eff= local | ||
|gr1= Particles | |gr1= Particles | ||
| Set fire parameters to particle effect. | | Set fire parameters to particle effect. | ||
Line 17: | Line 17: | ||
coreDistance, | coreDistance, | ||
damageTime | damageTime | ||
];</code> | ];</code> | ||
| source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] | | source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] | ||
|p1= source: [[Object]] | |p1= source: [[Object]] | ||
|p2= [coreIntensity, coreDistance, damageTime]: [[Array]] | |p2= [coreIntensity, coreDistance, damageTime]: [[Array]] | ||
|p3= coreIntensity: [[Number]] - damage in the center of fire | |p3= coreIntensity: [[Number]] - damage in the center of fire | ||
|p4= coreDistance: [[Number]] - how far can unit get damage | |p4= coreDistance: [[Number]] - how far can unit get damage | ||
|p5= damageTime: [[Number]] - how often is unit getting damage | |p5= damageTime: [[Number]] - how often is unit getting damage | ||
| [[Nothing]] | | [[Nothing]] | ||
Line 33: | Line 33: | ||
_emitter [[setParticleClass]] "MediumSmoke"; | _emitter [[setParticleClass]] "MediumSmoke"; | ||
_emitter [[setParticleFire]] [0.3,1.0,0.1]; | _emitter [[setParticleFire]] [0.3,1.0,0.1]; | ||
</code> | </code> | ||
| [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] | | [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:11, 18 January 2021
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:
- Particles
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