setParticleCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 21: Line 21:
|gr1= Particles
|gr1= Particles


|descr= Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity. Correspondence between CfgCloudlets class param names and command array of params:
|descr= Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity.
<code>particleSource [[setParticleCircle]]
[
circleRadius,
circleVelocity
];</code>


|s1= particleSource '''setParticleCircle''' [radius, velocity]
|s1= particleSource [[setParticleCircle]] [circleRadius, circleVelocity]


|p1= particleSource: [[Object]]
|p1= particleSource: [[Object]]
|p2= [radius, velocity]: [[Array]]
 
|p3= radius: [[Number]]
|p2= circleRadius: [[Number]]
|p4= velocity: [[Array]] (x,y,z)
 
|p3= circleVelocity: [[Array]] of [[Number]]s in format [X, Y, Z]


|r1= [[Nothing]]
|r1= [[Nothing]]


|seealso= [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]]
|x1= <sqf>_myParticleSource setParticleCircle [3, [0,0,5]];</sqf>
 
|seealso= [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
}}
}}

Latest revision as of 10:40, 28 September 2023

Hover & click on the images for description

Description

Description:
Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity.
Groups:
Particles

Syntax

Syntax:
particleSource setParticleCircle [circleRadius, circleVelocity]
Parameters:
particleSource: Object
circleRadius: Number
circleVelocity: Array of Numbers in format [X, Y, Z]
Return Value:
Nothing

Examples

Example 1:
_myParticleSource setParticleCircle [3, [0,0,5]];

Additional Information

See also:
setParticleParams setParticleRandom ParticleTemplates setParticleClass particlesQuality setParticleFire

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