setOvercast: Difference between revisions

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

Revision as of 20:32, 1 June 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.