forceWeatherChange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4 $5</code>")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
Line 17: Line 17:


|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>


|seealso= [[fog]] [[fogForecast]] [[setFog]] [[overcast]] [[setOvercast]] [[overcastForecast]] [[nextWeatherChange]] [[rain]] [[setRain]] [[setWind]] [[simulWeatherSync]]
|seealso= [[fog]] [[fogForecast]] [[setFog]] [[overcast]] [[setOvercast]] [[overcastForecast]] [[nextWeatherChange]] [[rain]] [[setRain]] [[setWind]] [[simulWeatherSync]]
}}
}}

Revision as of 13:00, 12 May 2022

Hover & click on the images for description

Description

Description:
Will force-apply previously set settings. This might cause lag.
To prevent the engine from overwriting custom weather settings, enable the Manual Control settings in Eden Editor's intel section.
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:
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