drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
Line 1: Line 1:
{{Command|Comments=
{{Command
____________________________________________________________________________________________


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


|1.5|Game version=
|eff= local
|arg= global


|eff= local |Multiplayer Effects=
|arg= global |Multiplayer Arguments=
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
| Creates a particle effect.


|descr= Creates a particle effect.
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 more or less dependant on the wind. |DESCRIPTION=
____________________________________________________________________________________________


| '''drop''' array |SYNTAX=
|s1= [[drop]] parameters


|p1= array: [[Array]] - format [[ParticleArray]]. |PARAMETER1=
|p1= parameters: [[Array]] to format [[ParticleArray]]


| [[Nothing]]


| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[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]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |SEEALSO=
|x1= <code>[[drop]] ["cl_basic", "", "Billboard", 1, 1,
[-3.5 * ([[sin]] ([[direction]] xural)), -3.5 * ([[cos]] ([[direction]] xural)), 0],
[<nowiki/>[[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>


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


Line 46: Line 40:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|DROP]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|DROP]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|DROP]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|DROP]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Manipulation|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Object Manipulation|{{uc:{{PAGENAME}}}}]]

Revision as of 14:34, 11 January 2020

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 more or less dependant on the wind.
Groups:
Uncategorised

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

Notes

Bottom Section