forceWeatherChange

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.16
  This scripting command must be executed on the server to work properly in multiplayer

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.16

Description

Description:
Forces saved wanted settings for weather to be actual (BEWARE: Will cause lag).

NOTE The engine has own idea about the weather and will interfere with your scripted weather at every opportunity it gets. So don't give it the opportunity. In the editor's Intel there are Manual Override setting for many aspects of the weather. Select them to disable engine interference. Some commands such as setWaves and setLightnings will not even work until their respective settings are set to manual.

Syntax

Syntax:
forceWeatherChange
Return Value:
Nothing

Examples

Example 1:
240 setOvercast 1; 360 setRain 1; forceWeatherChange; comment "force immediate change overriding smooth transition";

Additional Information

Multiplayer:
Execute on server
See also:
fogfogForecastsetFogovercastsetOvercastovercastForecastnextWeatherChangerainsetRainsetWindsimulWeatherSync

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section