setOvercast: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|S]]


back to [[Scripting_Reference#S|COMREF]]


<h2 style="color:#000066">'''''time'' setOvercast ''overcast'''''</h2>
<h2 style="color:#000066">'''''time'' setOvercast ''overcast'''''</h2>

Revision as of 11:41, 23 April 2006


time setOvercast overcast


Operand types:

time: Number

overcast: Number

Type of returned value:

Nothing

Description:

Set overcast to given value smoothly during given time (in seconds).
Zero time means immediate change.
Zero overcast means clear (sunny) weather, with overcast 1 storms and rain are very likely.


Example:

50 setOvercast 0.5


Comments:

Use setRain if you want to make sure it rains.