setRain
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint: Resistance
- Version:
- 1.75
Description
- Description:
- Set rain density smoothly over the given transition time (in seconds). A transition time of zero means an immediate change. A rain density of zero is no rain, one is maximum rain. Rain is not possible when overcast is less than 0.7.
Syntax
- Syntax:
- TransitionTime setRain rainDensity
- Parameters:
- TransitionTime : Number. Seconds
- rainDensity: Number. Range 0 to 1
- Return Value:
- Nothing
Examples
- Example 1:
60 setRain 1
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- rain

