setParticleFire: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (locality) |
m (template:command argument fix) |
||
Line 22: | Line 22: | ||
| source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] |= Syntax | | source '''setParticleFire''' [coreIntensity, coreDistance, damageTime] |= Syntax | ||
|p1= source: [[Object]] |= | |p1= source: [[Object]] |PARAMETER1= | ||
|p2= [coreIntensity, coreDistance, damageTime]: [[Array]] |= | |p2= [coreIntensity, coreDistance, damageTime]: [[Array]] |PARAMETER2= | ||
|p3= coreIntensity: [[Number]] - damage in the center of fire |= | |p3= coreIntensity: [[Number]] - damage in the center of fire |PARAMETER3= | ||
|p4= coreDistance: [[Number]] - how far can unit get damage |= | |p4= coreDistance: [[Number]] - how far can unit get damage |PARAMETER4= | ||
|p5= damageTime: [[Number]] - how often is unit getting damage |= | |p5= damageTime: [[Number]] - how often is unit getting damage |PARAMETER5= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
Line 34: | Line 34: | ||
_emitter [[setParticleClass]] "MediumSmoke"; | _emitter [[setParticleClass]] "MediumSmoke"; | ||
_emitter [[setParticleFire]] [0.3,1.0,0.1]; | _emitter [[setParticleFire]] [0.3,1.0,0.1]; | ||
</code>|= | </code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] |= | | [[Arma 3 Particle Effects]], [[ParticleArray]], [[setParticleParams]], [[setParticleRandom]], [[setParticleCircle]], [[setDropInterval]], [[drop]], [[setParticleClass]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
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