setParticleRandom: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> +" to "<code>") |
Lou Montana (talk | contribs) m (Text replacement - " \|(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
||
Line 51: | Line 51: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1 = <code>_particleSource [[setParticleRandom]] [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0, 45, 0];</code> | |x1= <code>_particleSource [[setParticleRandom]] [0, [0.1, 0.1, 0.1], [0, 0, 0.5], 0, 0.1, [0, 0, 0, 0], 0, 0, 45, 0];</code> | ||
|seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] | |seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |
Revision as of 23:28, 10 June 2021
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:
- Nothing
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:
- ParticleArraysetParticleCirclesetParticleParamsParticleTemplatessetParticleClassparticlesQualitysetParticleFire
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.