setParticleCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
mNo edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma1 |Game name=
|game1= arma1
|version1= 1.00


|1.00|Game version=
|game2= arma2
|arg= global |Multiplayer Arguments=
|version2= 1.00
|eff= local |Multiplayer Effects=


|gr1= Particles |GROUP1=
|game3= arma2oa
____________________________________________________________________________________________
|version3= 1.50


| 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:
|game4= tkoh
<code>particleSource [[setParticleCircle]]
|version4= 1.00
[
circleRadius,
circleVelocity
];</code> |DESCRIPTION=
____________________________________________________________________________________________


| particleSource '''setParticleCircle''' [radius, velocity] |SYNTAX=
|game5= arma3
|version5= 0.50


|p1= particleSource: [[Object]] |PARAMETER1=
|arg= global
|p2= [radius, velocity]: [[Array]] |PARAMETER2=
|eff= local
|p3= radius: [[Number]] |PARAMETER3=
|p4= velocity: [[Array]] (x,y,z) |PARAMETER4=


| [[Nothing]] |RETURNVALUE=
|gr1= Particles
____________________________________________________________________________________________


| [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |SEEALSO=
|descr= Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity.


}}
|s1= particleSource [[setParticleCircle]] [circleRadius, circleVelocity]
 
|p1= particleSource: [[Object]]
 
|p2= circleRadius: [[Number]]
 
|p3= circleVelocity: [[Array]] of [[Number]]s in format [X, Y, Z]


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_myParticleSource setParticleCircle [3, [0,0,5]];</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
[[Category:Scripting Commands|SETPARTICLECIRCLE]]
}}
[[Category:Scripting Commands OFP Elite |SETPARTICLECIRCLE]]
{{GameCategory|arma1|Scripting Commands}}
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

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