setRain

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint: Resistance version 1.75

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

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section

Personal tools
Buy ArmA now!