setParticleRandom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example added →‎corrected)
Line 37: Line 37:
[[Category:Scripting Commands ArmA|SETPARTICLERANDOM]]
[[Category:Scripting Commands ArmA|SETPARTICLERANDOM]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 11:32, 2 November 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