setOvercast: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|S]]
[[Category:Scripting Commands|SETOVERCAST]]
[[Category:Scripting Commands OFP 1.97|S]]
[[Category:Scripting Commands OFP 1.97|SETOVERCAST]]
[[Category:Scripting Commands OFP 1.46|S]]
[[Category:Scripting Commands OFP 1.46|SETOVERCAST]]
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|SETOVERCAST]]





Revision as of 16:28, 4 May 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.