BIS fnc getCloudletParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
m (Text replacement - " +\]" to "]")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 1.76
|1.76


|gr1= Systems
|gr1= Systems


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


| [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]]
|s1= [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]]


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


| [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]:
|r1= [[Array]] - format [<nowiki/>[[setParticleParams]], [[setParticleRandom]], [[setDropInterval]]]<br>
<spoiler><code>[
<spoiler text="Show format">
[
[
[particleShape, particleFSNtieth, particleFSIndex, particleFSFrameCount, particleFSLoop],
[
animationName,
[particleShape, particleFSNtieth, particleFSIndex, particleFSFrameCount, particleFSLoop],
particleType,
animationName,
timerPeriod,
particleType,
lifeTime,
timerPeriod,
position,
lifeTime,
moveVelocity,
position,
rotationVelocity,
moveVelocity,
weight,
rotationVelocity,
volume,
weight,
rubbing,
volume,
size,
rubbing,
color,
size,
animationSpeed,
color,
randomDirectionPeriod,
animationSpeed,
randomDirectionIntensity,
randomDirectionPeriod,
onTimerScript,
randomDirectionIntensity,
beforeDestroyScript,
onTimerScript,
"",
beforeDestroyScript,
angle,
"",
onSurface,
angle,
bounceOnSurface,
onSurface,
emissiveColor
bounceOnSurface,
],
emissiveColor
[
],
lifeTimeVar,
[
positionVar,
lifeTimeVar,
moveVelocityVar,
positionVar,
rotationVelocityVar,
moveVelocityVar,
sizeVar,
rotationVelocityVar,
colorVar,
sizeVar,
randomDirectionPeriodVar,
colorVar,
randomDirectionIntensityVar,
randomDirectionPeriodVar,
angleVar,
randomDirectionIntensityVar,
bounceOnSurfaceVar
angleVar,
],
bounceOnSurfaceVar
interval
],
]</code></spoiler>
interval
]</spoiler>


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


|seealso= [[Arma 3: Particle Effects]], [[setParticleParams]], [[setParticleRandom]], [[setDropInterval]], [[drop]]
|seealso= [[Arma 3: Particle Effects]] [[setParticleParams]] [[setParticleRandom]] [[setDropInterval]] [[drop]]
}}
}}

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