setDropInterval: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 10: Line 9:


|gr1= Particles |GROUP1=
|gr1= Particles |GROUP1=
____________________________________________________________________________________________


| 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:
| 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:
<code>particleSource [[setDropInterval]] interval;</code>|DESCRIPTION=
<code>particleSource [[setDropInterval]] interval;</code>|DESCRIPTION=
____________________________________________________________________________________________


| particleSource '''setDropInterval''' interval |SYNTAX=
| particleSource '''setDropInterval''' interval |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_source [[setDropInterval]] 0.05;</code> |EXAMPLE1=
|x1= <code>_source [[setDropInterval]] 0.05;</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[drop]], [[setParticleParams]], [[setParticleRandom]], [[setParticleFire]], [[setParticleCircle]] |SEEALSO=
| [[drop]], [[setParticleParams]], [[setParticleRandom]], [[setParticleFire]], [[setParticleCircle]] |SEEALSO=

Revision as of 02:33, 17 January 2021

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

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

Notes

Bottom Section