forceWeatherChange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
Line 33: Line 33:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]

Revision as of 01:23, 18 January 2021

Hover & click on the images for description

Description

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

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.
Multiplayer:
Execute on server
Groups:
Environment

Syntax

Syntax:
forceWeatherChange
Return Value:
Nothing

Examples

Example 1:
0 setOvercast 1; 0 setRain 1; forceWeatherChange; Force immediate change overriding smooth transition

Additional Information

See also:
fogfogForecastsetFogovercastsetOvercastovercastForecastnextWeatherChangerainsetRainsetWindsimulWeatherSync

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

Bottom Section