forceWeatherChange: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1= Environment | |gr1= Environment | ||
Line 14: | Line 14: | ||
<br><br> | <br><br> | ||
{{Informative|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.}} | {{Informative|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.}} | ||
| '''forceWeatherChange''' | | '''forceWeatherChange''' | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>0 [[setOvercast]] 1; | |x1= <code>0 [[setOvercast]] 1; | ||
0 [[setRain]] 1; | 0 [[setRain]] 1; | ||
[[forceWeatherChange]]; {{codecomment|Force immediate change overriding smooth transition}}</code> | [[forceWeatherChange]]; {{codecomment|Force immediate change overriding smooth transition}}</code> | ||
| mp= Execute on server |Multiplayer= | | mp= Execute on server |Multiplayer= | ||
| [[fog]], [[fogForecast]], [[setFog]], [[overcast]], [[setOvercast]], [[overcastForecast]], [[nextWeatherChange]], [[rain]], [[setRain]], [[setWind]], [[simulWeatherSync]] | | [[fog]], [[fogForecast]], [[setFog]], [[overcast]], [[setOvercast]], [[overcastForecast]], [[nextWeatherChange]], [[rain]], [[setRain]], [[setWind]], [[simulWeatherSync]] | ||
}} | }} | ||
Revision as of 00:35, 18 January 2021
Description
- Description:
- Forces saved wanted settings for weather to be actual (BEWARE: Will cause lag).
- 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