Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.31

Description

Description:Switches random weather on and off.

Weather is randomized all the time, so fog and overcast values and their forecast values are changing randomly (if no scripted weather changes are initiated). The command enables or disables this random functionality, but does not cause an immediate weather change. The first change of weather after a mission has started, and random weather is allowed, occurs after about 30 minutes. The change is very subtle, and may take over an hour to complete. After the first change, there are no further changes for another 9 hours.

Syntax

Syntax:setRandomWeather mode
Parameters:
  • mode: Boolean - If true, random weather is created; if false, no random weather is created.
Return Value:Nothing

Examples

Examples:
setRandomWeather false;

Additional Information

See also: randomWeather, nextWeatherChange
Multiplayer:
Problems:

Notes