drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
(fixed description)
Line 2: Line 2:


|game1= ofpr
|game1= ofpr
|version1= 1.75
|version1= 1.75


|eff= local
|eff= local
|arg= global
|arg= global


Line 12: Line 14:
This command is used to create smoke, fire and similar effects.
This command is used to create smoke, fire and similar effects.
The particles are single polygons with single textures that always face the player.
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 more or less dependant on the wind.
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.


|s1= [[drop]] parameters
|s1= [[drop]] parameters
Line 30: Line 32:
|seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]]
|seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]]
}}
}}
<dl class="command_description">
<!-- Note Section BEGIN -->
</dl>


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 18:25, 25 February 2021

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 to format ParticleArray
Return Value:
Return value needed

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:
ParticleArraysetParticleCirclesetParticleParamssetParticleRandomParticleTemplatessetParticleClassparticlesQualitysetParticleFire

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