setParticleRandom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example added)
m (example added →‎corrected)
Line 18: Line 18:
| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1 = <code> _PS setParticleRandom [1, [0.1, 0.1, 0], 1, 1, 0.25, [0.1, 0, 0, 0.5], [0,0,1], 1, 1] </code>
|x1 = <code> _PS setParticleRandom [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0] </code>





Revision as of 00:41, 30 July 2011

-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 [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0]

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