setDropInterval: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "{{ExternalLink|" to "{{Link|")
 
(11 intermediate revisions by the same user not shown)
Line 24: Line 24:
|gr1= Particles
|gr1= Particles


|descr= Set interval of emitting particles from particle source. In Arma 3 hardcoded limit of how many particles can exist at the same time is [http://forums.bistudio.com/showthread.php?177797-Ruin-your-copy-of-Arma-and-your-PC#post2691090 18000]. Correspondence between CfgCloudlets class param name and command param:
|descr= Set interval of emitting particles from particle source. In Arma 3 hardcoded limit of how many particles can exist at the same time is {{Link|link= http://forums.bistudio.com/showthread.php?177797-Ruin-your-copy-of-Arma-and-your-PC#post2691090|text= 18000}}. Correspondence between CfgCloudlets class param name and command param:
<code>particleSource [[setDropInterval]] interval;</code>
<sqf>particleSource setDropInterval interval;</sqf>


|s1= particleSource '''setDropInterval''' interval
|s1= particleSource [[setDropInterval]] interval


|p1= particleSource: [[Object]]
|p1= particleSource: [[Object]]
Line 33: Line 33:
|p2= interval: [[Number]]
|p2= interval: [[Number]]


|r1=[[Nothing]]
|r1= [[Nothing]]


|x1= <code>_source [[setDropInterval]] 0.05;</code>
|x1= <sqf>_source setDropInterval 0.05;</sqf>


|seealso= [[drop]], [[setParticleParams]], [[setParticleRandom]], [[setParticleFire]], [[setParticleCircle]]
|seealso= [[drop]] [[setParticleParams]] [[setParticleRandom]] [[setParticleFire]] [[setParticleCircle]]
}}
}}

Latest revision as of 16:24, 4 January 2023

Hover & click on the images for description

Description

Description:
Set interval of emitting particles from particle source. In Arma 3 hardcoded limit of how many particles can exist at the same time is 18000. Correspondence between CfgCloudlets class param name and command param:
particleSource setDropInterval interval;
Groups:
Particles

Syntax

Syntax:
particleSource setDropInterval interval
Parameters:
particleSource: Object
interval: Number
Return Value:
Nothing

Examples

Example 1:
_source setDropInterval 0.05;

Additional Information

See also:
drop setParticleParams setParticleRandom setParticleFire setParticleCircle

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