---
name: "rainParams"
type: command
status: ok
groups: ["Environment"]
arma3_since: "2.08"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/rainParams
revid: 377674
updated: 2026-01-02T09:02:36Z
---

# rainParams

*Command · Environment · Arma 3 v2.08*

## Description

Returns currently set RainParticles params, custom or default.

## Syntax

```sqf
rainParams
```

**Returns:** [Array](../topics/Array.md) with [rainDropTexture, texDropCount, minRainDensity, effectRadius, windCoef, dropSpeed, rndSpeed, rndDir, dropWidth, dropHeight, dropColor, lumSunFront, lumSunBack, refractCoef, refractSaturation, snow, dropColorStrong]
- rainDropTexture: [String](../topics/String.md)
- texDropCount: [Number](../topics/Number.md)
- minRainDensity: [Number](../topics/Number.md)
- effectRadius: [Number](../topics/Number.md)
- windCoef: [Number](../topics/Number.md)
- dropSpeed: [Number](../topics/Number.md)
- rndSpeed: [Number](../topics/Number.md)
- rndDir: [Number](../topics/Number.md)
- dropWidth: [Number](../topics/Number.md)
- dropHeight: [Number](../topics/Number.md)
- dropColor: [Color (RGBA)](../topics/Color.md)
- lumSunFront: [Number](../topics/Number.md)
- lumSunBack: [Number](../topics/Number.md)
- refractCoef: [Number](../topics/Number.md)
- refractSaturation: [Number](../topics/Number.md)
- snow: [Boolean](../topics/Boolean.md)
- dropColorStrong: [Boolean](../topics/Boolean.md)

> [!NOTE]
> See RainParticles for more information.

## Examples

### Example 1

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

## Multiplayer

> [!IMPORTANT]
> - Rain particle params are **local**
> - If used on a dedicated server, this command returns an empty array.

## See also

[setRain](../commands/setRain.md) · [fogParams](../commands/fogParams.md) · [overcast](../commands/overcast.md) · [humidity](../commands/humidity.md) · [wind](../commands/wind.md) · [forceWeatherChange](../commands/forceWeatherChange.md)

<sub>Source: [BI Community Wiki — rainParams](https://community.bistudio.com/wiki/rainParams) (revision 377674).</sub>
