{"name":"simulCloudOcclusion","operator":null,"title":"simulCloudOcclusion","type":"command","url":"https://community.bistudio.com/wiki/simulCloudOcclusion","revid":369177,"updated":"2024-09-03T10:34: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":false},"exec":null,"description":"Returns clouds occlusion between two given points.","syntaxes":[{"syntax":"simulCloudOcclusion [pos1, pos2]","since":null,"effect":null,"exec":null,"params":[{"name":"pos1","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"pos1: Position"},{"name":"pos2","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"pos2: Position"}],"returns":{"type":"- Number","types":["Number"],"description":"(0 - no clouds, 1 - full clouds) - Nothing - If arguments are incorrect - Boolean - Returns false if simulWeather is disabled","text":"- Number - (0 - no clouds, 1 - full clouds)\n- Nothing - If arguments are incorrect\n- Boolean - Returns false if simulWeather is disabled"},"form":"unary","operator":null,"left":null,"right":{"text":"[pos1, pos2]","types":["Array"]}}],"examples":[{"text":"```sqf\nprivate _posPlayer = getPos player;\nprivate _posAbovePlayer = +_posPlayer; _posAbovePlayer set [2,200];\nsimulCloudOcclusion [_posPlayer, _posAbovePlayer];\n```","code":["private _posPlayer = getPos player;\nprivate _posAbovePlayer = +_posPlayer; _posAbovePlayer set [2,200];\nsimulCloudOcclusion [_posPlayer, _posAbovePlayer];"]}],"multiplayer":null,"problems":"> [!NOTE]\n> **Eden Editor:** SimulWeather seems to be disabled in Eden Editor and scenario preview.","aliases":[],"see_also":["setSimulWeatherLayers","simulCloudDensity","simulInClouds"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Environment","Introduced with Arma 3 version 1.00","Scripting Commands"]}