BIS fnc getCloudletParams: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
Lou Montana (talk | contribs) m (Text replacement - " +\]" to "]") |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.76 | |||
| | |gr1= Systems | ||
| | |descr= Return particle params of CfgCloudlets class. | ||
| | |s1= [cfgCloudletClass] call [[BIS_fnc_getCloudletParams]] | ||
|p1= cfgCloudletClass: [[String]] - wanted class in cfgCloudlets | |||
|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> | |||
|x1= <sqf>["AmmoLightSmokeParticles"] call BIS_fnc_getCloudletParams;</sqf> | |||
|seealso= [[Arma 3: Particle Effects]] [[setParticleParams]] [[setParticleRandom]] [[setDropInterval]] [[drop]] | |||
}} | }} | ||
Latest revision as of 18:16, 8 November 2023
Description
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:
Additional Information
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