rainParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|gr1= Environment | |gr1= Environment | ||
|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. | ||
|mp= {{Feature|important| | |||
* Rain particle params are '''local''' | |||
* If used on a dedicated server, this command returns an empty array. | |||
}} | |||
|s1= [[rainParams]] | |s1= [[rainParams]] | ||
|r1= [[Array]] - [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong] where: | |r1= [[Array]] - [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong] where: | ||
{{Columns|4| | |||
* rainDropTexture: [[String]] | |||
* texDropCount: [[Number]] | |||
* minRainDensity: [[Number]] | |||
* effectRadius: [[Number]] | |||
* windCoef: [[Number]] | |||
* dropSpeed: [[Number]] | |||
* rndSpeed: [[Number]] | |||
* rndDir: [[Number]] | |||
* dropWidth: [[Number]] | |||
* dropHeight: [[Number]] | |||
* dropColor: [[Array]] | |||
* lumSunFront: [[Number]] | |||
* lumSunBack: [[Number]] | |||
* refractCoef: [[Number]] | |||
* refractSaturation: [[Number]] | |||
* snow: [[Boolean]] | |||
* dropColorStrong: [[Boolean]] | |||
}} | |||
{{Feature|informative|See [[Arma 3: CfgWorlds Config Reference#class RainParticles|RainParticles]] for more information.}} | |||
|x1= < | |x1= <sqf> | ||
private _rainParams = rainParams; | |||
// or | |||
rainParams params [ | |||
"_rainDropTexture", | |||
"_texDropCount", | |||
"_minRainDensity", | |||
"_effectRadius", | |||
"_windCoef", | |||
"_dropSpeed", | |||
"_rndSpeed", | |||
"_rndDir", | |||
"_dropWidth", | |||
"_dropHeight", | |||
"_dropColor", | |||
"_lumSunFront", | |||
"_lumSunBack", | |||
"_refractCoef", | |||
"_refractSaturation", | |||
"_snow", | |||
"_dropColorStrong" | |||
]; | |||
</sqf> | |||
|seealso= [[setRain]] [[fogParams]] [[overcast]] [[humidity]] [[wind]] [[forceWeatherChange]] | |seealso= [[setRain]] [[fogParams]] [[overcast]] [[humidity]] [[wind]] [[forceWeatherChange]] | ||
}} | }} |
Latest revision as of 10:29, 6 May 2024
Description
- Description:
- Returns currently set RainParticles params, custom or default.
- Multiplayer:
- 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:
- rainDropTexture: String
- texDropCount: Number
- minRainDensity: Number
- effectRadius: Number
- windCoef: Number
- dropSpeed: Number
- rndSpeed: Number
- rndDir: Number
- dropWidth: Number
- dropHeight: Number
- dropColor: Array
- lumSunFront: Number
- lumSunBack: Number
- refractCoef: Number
- refractSaturation: Number
- snow: Boolean
- dropColorStrong: Boolean
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
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