drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality)
m (template:command argument fix)
Line 17: Line 17:
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. |= Description
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
| '''drop''' array |SYNTAX=


|p1= array: [[Array]] - format [[ParticleArray]]. |= Parameter 1
|p1= array: [[Array]] - format [[ParticleArray]]. |PARAMETER1=




| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 31: Line 31:
-3.5*([[cos]]([[direction]] xural)),0], [ [[random]] 0.1,[[random]] 0.1,[[random]] 0.5], 1, 0.005, 0.0042,
-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.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> |= Example 1
  0.2, 0.2, "", "", xural]</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |= See also
| [[ParticleArray]], [[setParticleCircle]], [[setParticleParams]], [[setParticleRandom]], [[ParticleTemplates]], [[setParticleClass]], [[particlesQuality]], [[setParticleFire]] |SEEALSO=


}}
}}

Revision as of 15:38, 7 April 2019

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 array
Parameters:
array: 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:
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