setOvercast: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Note about overcast and Arma 3 volumetric clouds)
Line 40: Line 40:


<dd class="notedate">
<dd class="notedate">
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''<dd class="note">Only one script command induced weather change (either setOvercast or [[setFog]]) can be happening at a time. Starting a new weather change will immediately halt the current weather change. [[setRain|SetRain]] changes are independent and can occur simultaneously to a weather change.  
<dt class="note">'''[[User:Ceeeb|Ceeeb]]'''<dd class="note">Only one script command induced weather change (either setOvercast or [[setFog]]) can be happening at a time. Starting a new weather change will immediately halt the current weather change. [[setRain|SetRain]] changes are independent and can occur simultaneously to a weather change.
 
<dd class="notedate">
<dt class="note">'''[[User:Joris|Joris]]'''<dd class="note">[[Arma 3|Arma 3]]'s volumetric clouds cannot be instantly changed (it would take up to a few seconds to do a full recompute). Therefore, ''0 setOvercast 0'' will not have the desired effect. You can use [[skipTime|skipTime]] to get to the desired cloud coverage - even 0.5 seconds will usually do the trick.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 11:22, 14 August 2013

Hover & click on the images for description

Description

Description:
Set overcast to given value smoothly during given time (in seconds). Zero time means immediate change. An overcast setting of zero means clear (sunny) weather, and one means storms and rain are very likely. Higher overcast values also result in higher wind speeds.
Multiplayer:
Each client and the server can have differing overcast values.
Groups:
Uncategorised

Syntax

Syntax:
time setOvercast overcast
Parameters:
time: Number. In seconds
overcast: Number. Range 0 to 1
Return Value:
Nothing

Examples

Example 1:
50 setOvercast 0.5

Additional Information

See also:
overcastnextWeatherChange

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

Posted on August 4, 2006 - 12:00
hardrock
Notes from before the conversion: Use setRain if you want to make sure it rains.
Ceeeb
Only one script command induced weather change (either setOvercast or setFog) can be happening at a time. Starting a new weather change will immediately halt the current weather change. SetRain changes are independent and can occur simultaneously to a weather change.
Joris
Arma 3's volumetric clouds cannot be instantly changed (it would take up to a few seconds to do a full recompute). Therefore, 0 setOvercast 0 will not have the desired effect. You can use skipTime to get to the desired cloud coverage - even 0.5 seconds will usually do the trick.

Bottom Section