drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| ofp |= Game name
|game1= ofp
|version1= 1.75


|1.5|= Game version
|game2= ofpe
|version2= 1.00


|eff= local |= Effects in MP
|game3= arma1
|arg= global |= Arguments in MP
|version3= 1.00
|eff= local |= Effects in MP
____________________________________________________________________________________________


| Creates a particle effect.
|game4= arma2
|version4= 1.00


This command is used to create smoke, fire and similar effects.
|game5= arma2oa
|version5= 1.50


The particles are single polygons with single textures that always face the player.
|game6= tkoh
|version6= 1.00


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. |DESCRIPTION=
|game7= arma3
____________________________________________________________________________________________
|version7= 0.50


| '''drop''' array |SYNTAX=
|eff= local


|p1= array: [[Array]] - format [[ParticleArray]]. |PARAMETER1=
|arg= global


|gr1= Particles


| [[Nothing]] |RETURNVALUE=
|descr= 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.
|x1= <code>[[drop]] ["cl_basic", "", "Billboard", 1, 1, [-3.5*([[sin]]([[direction]] xural)),
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.
-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]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |SEEALSO=
|s1= [[drop]] parameters


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


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


</dl>
|x1= <sqf>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];</sqf>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[ParticleArray]] [[setParticleCircle]] [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
 
}}
[[Category:Scripting Commands|DROP]]
[[Category:Scripting Commands OFP 1.99|DROP]]
[[Category:Scripting Commands OFP 1.96|DROP]]
[[Category:Scripting Commands ArmA|DROP]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 18:39, 2 November 2023

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