setParticleCircle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= ([^' ]+)'''([^' ]+)'''([^ ]*) " to "|s$1= $2$3$4 ") |
Lou Montana (talk | contribs) (Add example) |
||
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. | |descr= Updates particle source, creates particles in circle with given radius. Velocity is transformed and added to total velocity. | ||
|s1= particleSource [[setParticleCircle]] [ | |s1= particleSource [[setParticleCircle]] [circleRadius, circleVelocity] | ||
|p1= particleSource: [[Object]] | |p1= particleSource: [[Object]] | ||
|p2= | |||
|p3= | |p2= radius: [[Number]] | ||
|p3= velocity: [[Array]] of [[Number]] - in format [X, Y, Z] | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>_myParticleSource [[setParticleCircle]] [3, [0,0,5]];</code> | |||
|seealso= [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] | |seealso= [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] | ||
}} | }} |
Revision as of 09:24, 24 August 2021
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
- radius: Number
- velocity: Array of Number - in format [X, Y, Z]
- Return Value:
- Nothing
Examples
- Example 1:
_myParticleSource setParticleCircle [3, [0,0,5]];
Additional Information
- See also:
- setParticleParamssetParticleRandomParticleTemplatessetParticleClassparticlesQualitysetParticleFire
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Particles
- Scripting Commands: Local Effect