forceWeatherChange: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ") |
Lou Montana (talk | contribs) m (Text replacement - "<sqf>([^↵][^<]*↵[^<]*)<\/sqf>" to "<sqf> $1 </sqf>") |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|serverExec= server | |serverExec= server | ||
|descr= | |descr= Forcibly applies previously set weather settings. Skips smooth transitions. This might cause lag. | ||
{{Feature| | {{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]] | |s1= [[forceWeatherChange]] | ||
Line 16: | Line 16: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
0 | 0 setOvercast 1; | ||
0 setRain 1; | |||
forceWeatherChange; // Force immediate change overriding smooth transitions | |||
</sqf> | |||
|seealso= [[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