rainParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
Line 7: Line 7:


|descr= Returns currently set [[Arma_3:_CfgWorlds_Config_Reference#class_RainParticles | RainParticles]] params, custom or default.
|descr= Returns currently set [[Arma_3:_CfgWorlds_Config_Reference#class_RainParticles | RainParticles]] params, custom or default.
{{Feature|important|Rain particle params are client side params and on dedicated server this command returns empty array []}}
 
|mp= {{Feature|important|
* Rain particle params are '''local'''
* If used on a dedicated server, this command returns an empty array.
}}


|s1= [[rainParams]]
|s1= [[rainParams]]
Line 30: Line 34:
* snow: [[Boolean]]
* snow: [[Boolean]]
* dropColorStrong: [[Boolean]]
* dropColorStrong: [[Boolean]]
|shrink= y}}
}}


{{Feature|informative|See [[Arma_3:_CfgWorlds_Config_Reference#class_RainParticles|RainParticles]] for more information.}}
{{Feature|informative|See [[Arma_3:_CfgWorlds_Config_Reference#class_RainParticles|RainParticles]] for more information.}}

Latest revision as of 17:30, 17 April 2023

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;

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