drop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Return value since 2.18) |
||
(62 intermediate revisions by 14 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | |||
|game1= ofp | |||
|version1= 1.75 | |||
| | |game2= ofpe | ||
|version2= 1.00 | |||
|1. | |game3= arma1 | ||
|version3= 1.00 | |||
| | |game4= arma2 | ||
|version4= 1.00 | |||
| | |game5= arma2oa | ||
|version5= 1.50 | |||
|game6= tkoh | |||
|version6= 1.00 | |||
|game7= arma3 | |||
|version7= 0.50 | |||
|eff= local | |||
| | |arg= global | ||
| | |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. | |||
| [[ | |s1= [[drop]] parameters | ||
| | |p1= parameters: [[Array]] format [[ParticleArray]] | ||
}} | |r1= [[Nothing]], since {{GVI|arma3|2.18}} [[Object]] | ||
|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> | |||
|seealso= [[ParticleArray]] [[setParticleCircle]] [[setParticleParams]] [[setParticleRandom]] [[ParticleTemplates]] [[setParticleClass]] [[particlesQuality]] [[setParticleFire]] | |||
}} | |||
Latest revision as of 14:43, 3 October 2024
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, since 2.18 Object
Examples
- Example 1:
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.75
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Particles
- Scripting Commands: Local Effect