{"name":"simulCloudDensity","operator":null,"title":"simulCloudDensity","type":"command","url":"https://community.bistudio.com/wiki/simulCloudDensity","revid":365017,"updated":"2024-07-10T18:22:01Z","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 density of clouds at given position.","syntaxes":[{"syntax":"simulCloudDensity pos","since":null,"effect":null,"exec":null,"params":[{"name":"pos","type":"Position","optional":false,"default":null,"description":null,"types":["Position"],"since":null,"text":"pos: Position"}],"returns":{"type":"- Number","types":["Number"],"description":"density (0-1) - Nothing - If arguments are incorrect - Boolean - Returns false if simulWeather is disabled","text":"- Number - density (0-1)\n- Nothing - If arguments are incorrect\n- Boolean - Returns false if simulWeather is disabled"},"form":"unary","operator":null,"left":null,"right":{"text":"pos","types":["Position"]}}],"examples":[{"text":"```sqf\nsimulCloudDensity getPos player;\n```","code":["simulCloudDensity getPos player;"]}],"multiplayer":null,"problems":"> [!NOTE]\n> **Eden Editor:** SimulWeather seems to be disabled in Eden Editor and scenario preview.","aliases":[],"see_also":["setSimulWeatherLayers","simulCloudOcclusion","simulInClouds"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Environment","Introduced with Arma 3 version 1.00","Scripting Commands"]}