setParticleFire: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Particles |GROUP1= | |gr1= Particles |GROUP1= | ||
| Set fire parameters to particle effect. | | Set fire parameters to particle effect. | ||
Line 20: | Line 18: | ||
damageTime | damageTime | ||
];</code> |DESCRIPTION= | ];</code> |DESCRIPTION= | ||
| source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] |SYNTAX= | | source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] |SYNTAX= | ||
Line 38: | Line 35: | ||
</code>|EXAMPLE1= | </code>|EXAMPLE1= | ||
| [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] |SEEALSO= | | [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:51, 17 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
Notes
Bottom Section