setParticleCircle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
Line 29: Line 29:
|p2= radius: [[Number]]
|p2= radius: [[Number]]


|p3= velocity: [[Array]] of [[Number]] - in format [X, Y, Z]
|p3= velocity: [[Array]] of [[Number]]s in format [X, Y, Z]


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

Revision as of 11:39, 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
radius: Number
velocity: 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