drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(59 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|DROP]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.96|DROP]]
[[Category:Scripting Commands ArmA|DROP]]


{{Command|= Comments
|game1= ofp
____________________________________________________________________________________________
|version1= 1.75


| ofp |= Game name
|game2= ofpe
|version2= 1.00


|1.5|= Game version
|game3= arma1
|version3= 1.00


|eff= local |= Effects in MP
|game4= arma2
____________________________________________________________________________________________
|version4= 1.00


| Creates a particle effect.
|game5= arma2oa
|version5= 1.50


This command is used to create smoke, fire and similar effects.
|game6= tkoh
|version6= 1.00


The particles are single polygons with single textures that always face the player.
|game7= arma3
|version7= 0.50


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
|eff= local
____________________________________________________________________________________________


| '''drop ''array''''' |= Syntax
|arg= global


|p1= array: [[Array]] - Particle Array in format [[ParticleArray]]. |= Parameter 1
|gr1= Particles


|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.
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.


| [[Nothing]] |= Return value
|s1= [[drop]] parameters
____________________________________________________________________________________________
 
|x1= <pre>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]</pre> |= Example 1
____________________________________________________________________________________________


| |= See also
|p1= parameters: [[Array]] format [[ParticleArray]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>drop ["cl_basic", "", "Billboard", 1, 1,
<dl class="command_description">
[-3.5 * (sin (direction xural)), -3.5 * (cos (direction xural)), 0],
<!-- Note Section BEGIN -->
[random 0.1, random 0.1, random 0.5],
ArmA Drop command
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>


_shape  = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8];
|seealso= [[ParticleArray]] [[setParticleCircle]] [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]]
 
}}
_animationame = "";
 
_type = "billboard";
 
_timerperiod  = .5;
 
_lifetime  = 1;
 
_pos = [(_this select 1,(_this select 1), (_this select 2)]
 
_movevel = [0 , 0, 0]
 
_rotationvel = 1;
 
_weight = 1;
 
_volume = .5;
 
_rubbing = 0;
 
_size = [0.5,6,10];
 
_col_anim_ranp = [[0.2,0.17,0.124,0.4],[0.5,0.46,0.31,0.1],[1,1,1,0]];
 
_randirintensity = [0.2];
 
_ontimer = 1.2;
 
_beforedestroy = 0.25;
 
_uknown1 = ""
 
_uknown2 = ""
 
_uknown3 = ""
 
 
drop [_shape, _animationame, _type, _timerperiod, _lifetime, _pos,_movevel,_rotationvel,_weight,_volume,_rubbing,_size, _col_anim_ranp, _randirintensity, _ontimer, _beforedestroy, _uknown1, _uknown2, _uknown3];
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>

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