forceWeatherChange: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (some info) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
<br><br> | <br><br> | ||
'''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. |= | '''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. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''forceWeatherChange''' |= | | '''forceWeatherChange''' |SYNTAX= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>240 [[setOvercast]] 1; | |x1= <code>240 [[setOvercast]] 1; | ||
360 [[setRain]] 1; | 360 [[setRain]] 1; | ||
[[forceWeatherChange]]; [[comment]] "force immediate change overriding smooth transition";</code> |= | [[forceWeatherChange]]; [[comment]] "force immediate change overriding smooth transition";</code> |EXAMPLE1= | ||
| 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]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:39, 7 April 2019
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. - Multiplayer:
- Execute on server
- Groups:
- Uncategorised
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
- 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