BIS fnc getCloudletParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], *\[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "<code> *(\^+\]) +\[\[call\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 call $2;</sqf>")
Line 55: Line 55:
  ]</spoiler>
  ]</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]]
}}
}}

Revision as of 19:03, 5 May 2022

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 setParticleParamssetParticleRandomsetDropIntervaldrop

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