drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
(6 intermediate revisions by the same user not shown)
Line 35: Line 35:
|s1= [[drop]] parameters
|s1= [[drop]] parameters


|p1= parameters: [[ParticleArray]]
|p1= parameters: [[Array]] format [[ParticleArray]]


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


|x1= <code>drop ["cl_basic", "", "Billboard", 1, 1,
|x1= <sqf>
[-3.5 * (sin (direction xural)), -3.5 * (cos ([[direction]] xural)), 0],
drop ["cl_basic", "", "Billboard", 1, 1,
[[[random]] 0.1, [[random]] 0.1, [[random]] 0.5],
[-3.5 * (sin (direction xural)), -3.5 * (cos (direction xural)), 0],
[random 0.1, random 0.1, random 0.5],
1, 0.005, 0.0042, 0.7, [0.3,3],
1, 0.005, 0.0042, 0.7, [0.3,3],
[[0.5,0.5,0.5,0], [0.7,0.7,0.7,0.5], [0.9,0.9,0.9,0]],
[[0.5,0.5,0.5,0], [0.7,0.7,0.7,0.5], [0.9,0.9,0.9,0]],
[0,1,0,1,0,1],
[0,1,0,1,0,1],
0.2, 0.2, "", "", xural];</code>
0.2, 0.2, "", "", xural];
</sqf>


|seealso= [[ParticleArray]] [[setParticleCircle]] [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
|seealso= [[ParticleArray]] [[setParticleCircle]] [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
}}
}}

Revision as of 11:34, 3 September 2024

Hover & click on the images for description

Description

Description:
Creates a particle effect. This command is used to create smoke, fire and similar effects. The particles are single polygons with single textures that always face the player. They can be set to dynamically change their position, size, direction, can be set to different weights and to be more or less dependent on the wind.
Groups:
Particles

Syntax

Syntax:
drop parameters
Parameters:
parameters: Array format ParticleArray
Return Value:
Nothing

Examples

Example 1:
drop ["cl_basic", "", "Billboard", 1, 1, [-3.5 * (sin (direction xural)), -3.5 * (cos (direction xural)), 0], [random 0.1, random 0.1, random 0.5], 1, 0.005, 0.0042, 0.7, [0.3,3], [[0.5,0.5,0.5,0], [0.7,0.7,0.7,0.5], [0.9,0.9,0.9,0]], [0,1,0,1,0,1], 0.2, 0.2, "", "", xural];

Additional Information

See also:
ParticleArray setParticleCircle 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