setParticleParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(description)
Line 9: Line 9:
| Set parameters to particle source. Array is in format [[ParticleArray]].  
| Set parameters to particle source. Array is in format [[ParticleArray]].  


Since Arma 3 version 1.11.114706 you can use this command to overwrite many values set by [[setParticleClass]], particularity those defined in [[ParticleArray]]. |= Description
Since Arma 3 version 1.11.114706 you can use this command to overwrite many values set by [[setParticleClass]], particularity those defined in [[ParticleArray]]. Correspondence between CfgCloudlets class param names and command array of params:
<code>particleSource [[setParticleParams]]
[
[
particleShape,
particleFSNtieth,
particleFSIndex,
particleFSFrameCount,
particleFSLoop
],
animationName,
particleType,
timerPeriod,
lifeTime,
position,
moveVelocity,
rotationVelocity,
weight,
volume,
rubbing,
size,
color,
animationSpeed,
randomDirectionPeriod,
randomDirectionIntensity,
onTimerScript,
beforeDestroyScript,
[[this]],
angle,
onSurface,
bounceOnSurface,
emissiveColor
];</code>|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:22, 22 June 2016

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set parameters to particle source. Array is in format ParticleArray. Since Arma 3 version 1.11.114706 you can use this command to overwrite many values set by setParticleClass, particularity those defined in ParticleArray. Correspondence between CfgCloudlets class param names and command array of params: particleSource setParticleParams [ [ particleShape, particleFSNtieth, particleFSIndex, particleFSFrameCount, particleFSLoop ], animationName, particleType, timerPeriod, lifeTime, position, moveVelocity, rotationVelocity, weight, volume, rubbing, size, color, animationSpeed, randomDirectionPeriod, randomDirectionIntensity, onTimerScript, beforeDestroyScript, this, angle, onSurface, bounceOnSurface, emissiveColor ];
Groups:
Uncategorised

Syntax

Syntax:
particleSource setParticleParams array
Parameters:
particleSource: Object
array: Array - format ParticleArray
Return Value:
Nothing

Examples

Example 1:
see ParticleArray

Additional Information

See also:
Arma 3 Particle EffectsParticleArraysetParticleClasssetParticleRandomsetParticleCirclesetParticleFiresetDropIntervaldrop

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