setParticleRandom: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
Line 60: Line 60:




<dd class="notedate">Posted on July 03, 2013 - 15:35
<dd class="notedate">Posted on July 03, 2013 - 15:35</dd>
<dt class="note">[[User:Druid|Druid]]<dd class="note">Support of parameter <i>bounceOnSurface</i> ([[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]].<br>
<dt class="note">[[User:Druid|Druid]]<dd class="note">Support of parameter <i>bounceOnSurface</i> ([[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]].<br>



Revision as of 02:00, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Particles

Syntax

Syntax:
Syntax needed
Parameters:
particleSource: Object
lifeTime: Number
position: Array in format [randomX, randomY, randomZ]
moveVelocity: Array in format [randomX, randomY, randomZ]
rotationVelocity: Number
size: Number
color: Color (RGBA)
directionPeriod: Number
directionIntensity: Number
angle: Number (Optional)
bounceOnSurface: Number (Optional) Template:Since
Return Value:
Return value needed

Examples

Example 1:
_particleSource setParticleRandom [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0, 45, 0];

Additional Information

See also:
See also needed

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
Posted on July 03, 2013 - 15:35
Druid
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.