setParticleRandom

From Bohemia Interactive Community
Revision as of 00:40, 30 July 2011 by Lou Montana bi wiki (talk | contribs) (example added)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Set randomization of particle source parameters.
Groups:
Uncategorised

Syntax

Syntax:
particleSource setParticleRandom [lifeTime, position, moveVelocity, rotationVelocity, size, color, randomDirectionPeriod, randomDirectionIntensity, {angle}]
Parameters:
particleSource: Object
[lifeTime, position, moveVelocity, rotationVelocity, size, color, randomDirectionPeriod, randomDirectionIntensity, {angle}]: Array
Return Value:
Nothing

Examples

Example 1:
_PS setParticleRandom [1, [0.1, 0.1, 0], 1, 1, 0.25, [0.1, 0, 0, 0.5], [0,0,1], 1, 1]

Additional Information

See also:
ParticleArraysetParticleCirclesetParticleParams

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