rain: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
Line 1: Line 1:
[[Category:Scripting Commands|RAIN]]
[[Category:Scripting Commands ArmA|RAIN]]
[[Category:Scripting Commands ArmA2|RAIN]]
[[Category:Command_Group:_Environment|RAIN]]
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 13: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the current value of rain density in range 1...0 |DESCRIPTION=
| Returns the current value of rain density in range 0..1 |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''rain''' |SYNTAX=
| [[rain]] |SYNTAX=


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1=<code>_rainLevel = [[rain]];</code>|=
|x1=<code>_rainLevel = [[rain]];</code>|Example 1=


| mp = Pre-Arma 3, each client and the server could have different rain values. Since Arma 3 the value is synced over network. |= Multiplayer
|mp= Pre-Arma 3, each client and the server could have different rain values. Since Arma 3 the value is synced over network. |Multiplayer=


| [[setRain]], [[fog]] |SEEALSO=
| [[setRain]], [[fog]] |SEEALSO=
}}
}}


Line 37: Line 30:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]

Revision as of 23:23, 2 September 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns the current value of rain density in range 0..1
Multiplayer:
Pre-Arma 3, each client and the server could have different rain values. Since Arma 3 the value is synced over network.
Groups:
Uncategorised

Syntax

Syntax:
rain
Return Value:
Number

Examples

Example 1:
_rainLevel = rain;

Additional Information

See also:
setRainfog

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

Notes

Bottom Section