BIS fnc getCloudletParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.76|Game version=
|1.76


|gr1= Systems |GROUP1=
|gr1= Systems


| Return particle params of CfgCloudlets class. |Description=
| Return particle params of CfgCloudlets class.


| [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]] |Syntax=
| [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]]


|p1= cfgCloudletClass: [[String]] - wanted class in cfgCloudlets |Parameter 1=
|p1= cfgCloudletClass: [[String]] - wanted class in cfgCloudlets


| [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]:
| [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]:
Line 54: Line 54:
],
],
interval
interval
]</code></spoiler>|Return value=
]</code></spoiler>


|x1= <code>["AmmoLightSmokeParticles"] [[call]] [[BIS_fnc_getCloudletParams]];</code> |Example 1=
|x1= <code>["AmmoLightSmokeParticles"] [[call]] [[BIS_fnc_getCloudletParams]];</code>


| [[Arma 3 Particle Effects]], [[setParticleParams]], [[setParticleRandom]], [[setDropInterval]], [[drop]] |See also=
| [[Arma 3 Particle Effects]], [[setParticleParams]], [[setParticleRandom]], [[setDropInterval]], [[drop]]
}}
}}



Revision as of 23:00, 17 January 2021

Hover & click on the images for description

Description

Description:
Return particle params of CfgCloudlets class.
Execution:
call
Groups:
Systems

Syntax

Syntax:
[cfgCloudletClass] call BIS_fnc_getCloudletParams
Parameters:
cfgCloudletClass: String - wanted class in cfgCloudlets
Return Value:
Array - format [setParticleParams, setParticleRandom, setDropInterval]:

[ [ [particleShape, particleFSNtieth, particleFSIndex, particleFSFrameCount, particleFSLoop], animationName, particleType, timerPeriod, lifeTime, position, moveVelocity, rotationVelocity, weight, volume, rubbing, size, color, animationSpeed, randomDirectionPeriod, randomDirectionIntensity, onTimerScript, beforeDestroyScript, "", angle, onSurface, bounceOnSurface, emissiveColor ], [ lifeTimeVar, positionVar, moveVelocityVar, rotationVelocityVar, sizeVar, colorVar, randomDirectionPeriodVar, randomDirectionIntensityVar, angleVar, bounceOnSurfaceVar ], interval ]

↑ Back to spoiler's top

Examples

Example 1:
["AmmoLightSmokeParticles"] call BIS_fnc_getCloudletParams;

Additional Information

See also:
Arma 3 Particle EffectssetParticleParamssetParticleRandomsetDropIntervaldrop

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


Bottom Section