setDropInterval: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "{{ExternalLink|" to "{{Link|")
 
(62 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|R]]
{{RV|type=command
[[Category:Scripting Commands ArmA|R]]


<new command not populated>
|game1= ofpe
|version1= 1.00


|game2= arma1
|version2= 1.00


<h2 style="color:#000066">''''' setDropInterval '''''</h2>
|game3= arma2
|version3= 1.00


|game4= arma2oa
|version4= 1.50


'''Operand types:'''
|game5= tkoh
|version5= 1.00


'''Type of returned value:'''
|game6= arma3
|version6= 0.50


'''Compatibility:'''
|arg= global
|eff= local


'''Description:'''
|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 {{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:
<sqf>particleSource setDropInterval interval;</sqf>


'''Example:'''
|s1= particleSource [[setDropInterval]] interval
 
|p1= particleSource: [[Object]]
 
|p2= interval: [[Number]]
 
|r1= [[Nothing]]
 
|x1= <sqf>_source setDropInterval 0.05;</sqf>
 
|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