Description
Set overcast and fog
Syntax
syntax inferred from the function header
[param0, param1] call BIS_fnc_moduleWeather
Parameters:
param0— 0: STRING - mode, can be one of following "enableDelay" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)param1— 1: BOOL - true to enbale, false to disable
Returns: Nothing
"isDelayEnabled"
true if delayed activation is enabled, otherwise false
"commit" - apply weather changes
Nothing
Function header
The comment at the top of the function's file in the game; this page's description, params, syntax, returns come from it.
/*
Description:
Set overcast and fog
Parameter(s):
0: STRING - mode, can be one of following
"enableDelay" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)
1: BOOL - true to enbale, false to disable
Returns: Nothing
"isDelayEnabled"
Returns: true if delayed activation is enabled, otherwise false
"commit" - apply weather changes
Returns:
Nothing
*/