BIS fnc getCloudletParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - " +\]" to "]")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.76


|1.76|Game version=
|gr1= Systems


|gr1= Systems |GROUP1=
|descr= Return particle params of CfgCloudlets class.
____________________________________________________________________________________________


| Return particle params of CfgCloudlets class. |Description=
|s1= [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]]
____________________________________________________________________________________________


| [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]] |Syntax=
|p1= cfgCloudletClass: [[String]] - wanted class in cfgCloudlets


|p1= cfgCloudletClass: [[String]] - wanted class in cfgCloudlets |Parameter 1=
|r1= [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]<br>
<spoiler text="Show format">
[
[
[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
]</spoiler>


| [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]:
|x1= <sqf>["AmmoLightSmokeParticles"] call BIS_fnc_getCloudletParams;</sqf>
<spoiler><code>
[
[
[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
]</code></spoiler>|Return value=
____________________________________________________________________________________________


|x1= <code>["AmmoLightSmokeParticles"] [[call]] [[BIS_fnc_getCloudletParams]];</code> |Example 1=
|seealso= [[Arma 3: Particle Effects]] [[setParticleParams]] [[setParticleRandom]] [[setDropInterval]] [[drop]]
____________________________________________________________________________________________
 
| [[Arma 3 Particle Effects]], [[setParticleParams]], [[setParticleRandom]], [[setDropInterval]], [[drop]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:getCloudletParams}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:getCloudletParams}}]]

Latest revision as of 18:16, 8 November 2023

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 Effects setParticleParams setParticleRandom setDropInterval drop

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