forceWeatherChange: Difference between revisions
Jump to navigation
Jump to search
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...) |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.16 | |||
|1.16 | |||
|gr1= Environment | |gr1= Environment | ||
|serverExec= server | |||
| | |descr= Forcibly applies previously set weather settings. Skips smooth transitions. This might cause lag. | ||
| '' | {{Feature|informative|To prevent the engine from overwriting custom weather settings, enable the ''Manual Control'' settings in [[:Category:Eden Editor|Eden Editor]]'s intel section.}} | ||
| [[ | |s1= [[forceWeatherChange]] | ||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf> | ||
0 setOvercast 1; | |||
0 setRain 1; | |||
forceWeatherChange; // Force immediate change overriding smooth transitions | |||
</sqf> | |||
| [[fog]] | |seealso= [[fog]] [[fogForecast]] [[setFog]] [[overcast]] [[setOvercast]] [[overcastForecast]] [[nextWeatherChange]] [[rain]] [[setRain]] [[setWind]] [[simulWeatherSync]] | ||
}} | }} | ||
Latest revision as of 19:43, 3 September 2024
Description
- Description:
- Forcibly applies previously set weather settings. Skips smooth transitions. This might cause lag.
- Groups:
- Environment
Syntax
- Syntax:
- forceWeatherChange
- Return Value:
- Nothing
Examples
- Example 1:
- 0 setOvercast 1; 0 setRain 1; forceWeatherChange; // Force immediate change overriding smooth transitions
Additional Information
- See also:
- fog fogForecast setFog overcast setOvercast overcastForecast nextWeatherChange rain setRain setWind simulWeatherSync
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