drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|game1= ofpr
|game1= ofp


|version1= 1.75
|version1= 1.75
|game2= ofpe
|version2= 1.00
|game3= arma1
|version3= 1.00
|game4= arma2
|version4= 1.00
|game5= arma2oa
|version5= 1.51
|game6= tkoh
|version6= 1.00
|game7= arma3
|version7= 0.50


|eff= local
|eff= local
Line 18: Line 42:
|s1= [[drop]] parameters
|s1= [[drop]] parameters


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


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


|x1= <code>[[drop]] ["cl_basic", "", "Billboard", 1, 1,
|x1= <code>[[drop]] ["cl_basic", "", "Billboard", 1, 1,
Line 32: Line 56:
|seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]]
|seealso= [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]]
}}
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 11:18, 27 March 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 in 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:
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