DarkDruid
Support of parameter bounceOnSurface (Number - 0-1) is in the game since Arma 3 version 0.74. It's variability in speed's loosing in collision with ground. Requires collisions with ground enabled by script command setParticleParams.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
Sets randomization of particle source parameters. Correspondence between CfgCloudlets class param names and command array of params:
particleSource setParticleRandom
[
lifeTimeVar,
positionVar,
moveVelocityVar,
rotationVelocityVar,
sizeVar,
colorVar,
randomDirectionPeriodVar,
randomDirectionIntensityVar,
angleVar,
bounceOnSurfaceVar
];
particleSource setParticleRandom [lifeTime, position, moveVelocity, rotationVelocity, size, color, directionPeriod, directionIntensity, angle, bounceOnSurface]
Parameters:
particleSource: ObjectlifeTime: Numberposition: Array of Number - in format [randomX, randomY, randomZ]moveVelocity: Array of Number - in format [randomX, randomY, randomZ]rotationVelocity: Numbersize: Numbercolor: Color (RGBA)directionPeriod: NumberdirectionIntensity: Numberangle: Number - (Optional)bounceOnSurface: Number - (Optional) (since arma3 0.74)Returns: Nothing
_particleSource setParticleRandom [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0, 45, 0];
ParticleArray · setParticleCircle · setParticleParams · ParticleTemplates · setParticleClass · particlesQuality · setParticleFire
Support of parameter bounceOnSurface (Number - 0-1) is in the game since Arma 3 version 0.74. It's variability in speed's loosing in collision with ground. Requires collisions with ground enabled by script command setParticleParams.