rainParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Some wiki formatting)
 
Line 41: Line 41:
private _rainParams = rainParams;
private _rainParams = rainParams;
// or
// or
rainParams params ["_rainDropTexture", "_texDropCount", "_minRainDensity", "_effectRadius", "_windCoef", "_dropSpeed", "_rndSpeed", "_rndDir", "_dropWidth", "_dropHeight", "_dropColor", "_lumSunFront", "_lumSunBack", "_refractCoef", "_refractSaturation", "_snow", "_dropColorStrong"];
rainParams params [
"_rainDropTexture",
"_texDropCount",
"_minRainDensity",
"_effectRadius",
"_windCoef",
"_dropSpeed",
"_rndSpeed",
"_rndDir",
"_dropWidth",
"_dropHeight",
"_dropColor",
"_lumSunFront",
"_lumSunBack",
"_refractCoef",
"_refractSaturation",
"_snow",
"_dropColorStrong"
];
</sqf>
</sqf>


|seealso= [[setRain]] [[fogParams]] [[overcast]] [[humidity]] [[wind]] [[forceWeatherChange]]
|seealso= [[setRain]] [[fogParams]] [[overcast]] [[humidity]] [[wind]] [[forceWeatherChange]]
}}
}}

Latest revision as of 10:29, 6 May 2024

Hover & click on the images for description

Description

Description:
Returns currently set RainParticles params, custom or default.
Multiplayer:
  • Rain particle params are local
  • If used on a dedicated server, this command returns an empty array.
Groups:
Environment

Syntax

Syntax:
rainParams
Return Value:
Array - [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong] where:
See RainParticles for more information.

Examples

Example 1:
private _rainParams = rainParams; // or rainParams params [ "_rainDropTexture", "_texDropCount", "_minRainDensity", "_effectRadius", "_windCoef", "_dropSpeed", "_rndSpeed", "_rndDir", "_dropWidth", "_dropHeight", "_dropColor", "_lumSunFront", "_lumSunBack", "_refractCoef", "_refractSaturation", "_snow", "_dropColorStrong" ];

Additional Information

See also:
setRain fogParams overcast humidity wind forceWeatherChange

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