{"name":"BIS_fnc_moduleWeather","operator":null,"title":"BIS fnc moduleWeather","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_moduleWeather","revid":309885,"updated":"2022-05-05T12:09:54Z","groups":["Modules"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Set overcast and fog","syntaxes":[{"syntax":"[param0, param1] call BIS_fnc_moduleWeather","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":false,"default":null,"description":"mode, can be one of following\n\"enableDelay\" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)","since":null,"text":"0: STRING - mode, can be one of following\n\"enableDelay\" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)","source":"docblock"},{"name":"param1","type":"Boolean","types":["Boolean"],"optional":false,"default":null,"description":"true to enbale, false to disable","since":null,"text":"1: BOOL - true to enbale, false to disable","source":"docblock"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing\n\n        \"isDelayEnabled\"\ntrue if delayed activation is enabled, otherwise false\n\n        \"commit\" - apply weather changes\nNothing","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Modules","Functions","Introduced with Arma 3 version 1.00"],"docblock":{"author":null,"description":"Set overcast and fog","params":[{"index":0,"name":null,"types":["String"],"optional":false,"default":null,"description":"mode, can be one of following\n\"enableDelay\" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)","text":"STRING - mode, can be one of following\n\"enableDelay\" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)"},{"index":1,"name":null,"types":["Boolean"],"optional":false,"default":null,"description":"true to enbale, false to disable","text":"BOOL - true to enbale, false to disable"}],"returns":{"types":["Nothing"],"text":"Nothing\n\n        \"isDelayEnabled\"\ntrue if delayed activation is enabled, otherwise false\n\n        \"commit\" - apply weather changes\nNothing"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nSet overcast and fog\n\nParameter(s):\n    0: STRING - mode, can be one of following\n\n        \"enableDelay\" - enable delayed activation (i.e., weather changes are not applied manually and have to be confirmed by mission)\n            1: BOOL - true to enbale, false to disable\n            Returns: Nothing\n\n        \"isDelayEnabled\"\n            Returns: true if delayed activation is enabled, otherwise false\n\n        \"commit\" - apply weather changes\nReturns:\nNothing"},"filled_from_docblock":["description","params","syntax","returns"]}