{"name":"BIS_fnc_setFog","operator":null,"title":"BIS fnc setFog","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setFog","revid":336201,"updated":"2022-12-14T14:12:44Z","groups":["Environment"],"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":true},"exec":null,"description":"Instantly set weather conditions and share it across network.","syntaxes":[{"syntax":"[strength, density, altitude] call BIS_fnc_setFog","since":null,"effect":null,"exec":null,"params":[{"name":"strength","type":"Number","optional":false,"default":null,"description":"fog strength from 0 to 1","types":["Number"],"since":null,"text":"strength: Number - fog strength from 0 to 1"},{"name":"density","type":"Number","optional":false,"default":null,"description":"fog density from 0 to 1","types":["Number"],"since":null,"text":"density: Number - fog density from 0 to 1"},{"name":"altitude","type":"Number","optional":false,"default":null,"description":"fog base altitude in metres.","types":["Number"],"since":null,"text":"altitude: Number - fog base altitude in metres."}],"returns":{"type":"Array","types":["Array"],"description":"array with set values","text":"Array - array with set values"}}],"examples":[{"text":"```sqf\n[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]\n```","code":["[1,1,100] call BIS_fnc_setFog; // returns [1,1,100]"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setFog","fog"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Environment","Functions","Functions: Server Execution","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}