setOvercast: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (added mp note, see also, fixed typos) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | TransitionTime '''setOvercast''' IntensityLevel|= Syntax | ||
|p1= | |p1= TransitionTime : [[Number]]. Seconds |= Parameter 1 | ||
|p2= IntensityLevel: [[Number]]. Range 0 to 1 |= Parameter 2 | |p2= IntensityLevel: [[Number]]. Range 0 to 1 |= Parameter 2 | ||
Line 21: | Line 21: | ||
|x1= <pre>50 setOvercast 0.5</pre> |= Example 1 | |x1= <pre>50 setOvercast 0.5</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| mp = Each client and the server can have differing overcast values. |= Multiplayer | |||
| | | [[overcast]], [[nextWeatherChange]] |= See also | ||
}} | }} |
Revision as of 13:33, 25 November 2008
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:
- TransitionTime setOvercast IntensityLevel
- Parameters:
- TransitionTime : Number. Seconds
- IntensityLevel: 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.