setDropInterval: Difference between revisions

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


|game1= ofpe
|version1= 1.00


<h2 style="color:#000066">'''''particleSource'' setDropInterval ''interval'''''</h2>
|game2= arma1
|version2= 1.00


|game3= arma2
|version3= 1.00


'''Operand types:'''
|game4= arma2oa
|version4= 1.50


'''particleSource:''' [[Object]]
|game5= tkoh
|version5= 1.00


'''interval:''' [[Number]]
|game6= arma3
|version6= 0.50


'''Type of returned value:'''
|arg= global
|eff= local


[[Nothing]]
|gr1= Particles


'''Compatibility:'''
|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>


Version 2.56 required.
|s1= particleSource [[setDropInterval]] interval


'''Description:'''
|p1= particleSource: [[Object]]


Set interval of emitting particles from particle source.
|p2= interval: [[Number]]


|r1= [[Nothing]]


'''Example:'''
|x1= <sqf>_source setDropInterval 0.05;</sqf>


_source '''setDropInterval''' 0.05
|seealso= [[drop]] [[setParticleParams]] [[setParticleRandom]] [[setParticleFire]] [[setParticleCircle]]
}}

Latest revision as of 17: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