drop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 41: Line 41:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
ArmA Drop command
ArmA Drop command
_shape  = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8];
_shape  = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8];
_animationame = "";
_animationame = "";
_type = "billboard";
_type = "billboard";
_timerperiod  = .5;
_timerperiod  = .5;
_lifetime  = 1;
_lifetime  = 1;
_pos = [(_this select 1,(_this select 1), (_this select 2)]
_pos = [(_this select 1,(_this select 1), (_this select 2)]
_movevel = [0 , 0, 0]
_movevel = [0 , 0, 0]
_rotationvel = 1;
_rotationvel = 1;
_weight = 1;
_weight = 1;
_volume = .5;
_volume = .5;
_rubbing = 0;
_rubbing = 0;
_size = [0.5,6,10];
_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]];
_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];
_randirintensity = [0.2];
_ontimer = 1.2;
_ontimer = 1.2;
_beforedestroy = 0.25;
_beforedestroy = 0.25;
_uknown1 = ""
_uknown1 = ""
_uknown2 = ""  
_uknown2 = ""  
_uknown3 = ""
_uknown3 = ""


drop [_shape, _animationame, _type, _timerperiod, _lifetime, _pos,_movevel,_rotationvel,_weight,_volume,_rubbing,_size, _col_anim_ranp, _randirintensity, _ontimer, _beforedestroy, _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];

Revision as of 03:48, 8 January 2007


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 - Particle 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:
See also needed

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

ArmA Drop command _shape = ["\ca\data\ParticleEffects\FireAndSmokeAnim\FireAnim",8,5,8]; _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];

Bottom Section