setParticleCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(58 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|SETPARTICLECIRCLE]]
{{RV|type=command
[[Category:Scripting Commands OFP Elite |SETPARTICLECIRCLE]]
[[Category:Scripting Commands ArmA|SETPARTICLECIRCLE]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">'''''particleSource'' setParticleCircle ''[radius, velocity]'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''particleSource:''' [[Object]]
|game5= arma3
|version5= 0.50


'''[radius, velocity]:''' [[Array]]
|arg= global
|eff= local


'''Type of returned value:'''
|gr1= Particles


[[Nothing]]
|descr= Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity.


'''Compatibility:'''
|s1= particleSource [[setParticleCircle]] [circleRadius, circleVelocity]


Version 2.56 required.
|p1= particleSource: [[Object]]


'''Description:'''
|p2= circleRadius: [[Number]]


Update particle source to create particles on circle with given radius. Velocity is transformed and added to total velocity.
|p3= circleVelocity: [[Array]] of [[Number]]s in format [X, Y, Z]


'''Example:'''
|r1= [[Nothing]]
 
|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