setDropInterval: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - "{{ExternalLink|" to "{{Link|")
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= ofpe
|version1= 1.00


|1.00
|game2= arma1
|version2= 1.00
 
|game3= arma2
|version3= 1.00
 
|game4= arma2oa
|version4= 1.50
 
|game5= tkoh
|version5= 1.00
 
|game6= arma3
|version6= 0.50


|arg= global
|arg= global
Line 10: Line 24:
|gr1= Particles
|gr1= Particles


| 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>


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


|p1= particleSource: [[Object]]
|p1= particleSource: [[Object]]
Line 19: 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]]
}}
}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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