{"name":"getVideoOptions","operator":null,"title":"getVideoOptions","type":"command","url":"https://community.bistudio.com/wiki/getVideoOptions","revid":376476,"updated":"2025-10-17T09:37:32Z","groups":["System"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"2.12"}],"since":{"game":"arma3","name":"Arma 3","version":"2.12"},"arma3_since":"2.12","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Obtain the current system's video settings.","syntaxes":[{"syntax":"getVideoOptions","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"HashMap","types":["HashMap"],"description":"all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see #Example 1). > [!IMPORTANT] > `vramInfo` and `monitorResolution` keys presence is not guaranteed.","text":"HashMap - all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see #Example 1).\n\n> [!IMPORTANT]\n> `vramInfo` and `monitorResolution` keys presence is not guaranteed."},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nprivate _videoOptions = getVideoOptions;\n/*\n[\n    [\"aspectRatioName\", \"Auto (Stretch)\"],\n    [\"brightness\", 1.1],\n    [\"cloudQualityName\", \"VeryHigh\"],\n    [\"displayModeName\", \"FullScreenWindow\"],\n    [\"dynLightsCount\", 32],\n    [\"dynLightsQualityName\", \"VeryHigh\"],\n    [\"gamma\", 1],\n    [\"guiScale\", 0.7],\n    [\"guiScaleName\", \"Normal\"],\n    [\"hdrQuality\", 16],\n    [\"hdrQualityName\", \"Normal\"],\n    [\"monitorResolution\", [0, 0, 2304, 1440]],                            // presence not guaranteed [x, y, width, height]\n    [\"objectVisibility\", 6000],\n    [\"objQualityName\", \"VeryHigh\"],\n    [\"overallPresetName\", \"Custom\"],\n    [\"overallVisibility\", 8000],\n    [\"overrideHazeQuality\", -1],\n    [\"particleQualityName\", \"High\"],\n    [\"pipQuality\", 2048],\n    [\"pipQualityName\", \"VeryHigh\"],\n    [\"pipVisibility\", 3000],\n    [\"ppBloom\", 1],\n    [\"ppBrightness\", 1],\n    [\"ppCausticsQualityName\",\"Enabled\"],                                // fixed in 2.18\n    [\"anisotropicFiltering\",\"VeryHigh\"],                                // fixed in 2.18\n    [\"atocQuality\",\"All\"],                                                // fixed in 2.18\n    [\"ppColorPresetName\", \"Custom\"],\n    [\"ppContrast\", 1],\n    [\"ppDOF\", 1],\n    [\"ppFSAA\", 1],\n    [\"ppHazeQualityName\", \"Standard\"],\n    [\"ppPPAAQualityName\", \"CMAANormal\"],\n    [\"ppRadialBlur\", 1],\n    [\"ppRotationBlur\", 1],\n    [\"ppSaturation\", 1.25],\n    [\"ppSharpenFilter\", 0.75],\n    [\"ppSSAOQualityName\", \"\"],\n    [\"refreshRate\", 60],\n    [\"samplingPercentage\", 100],\n    [\"shadowQualityName\", \"VeryHigh\"],\n    [\"shadowVisibility\", 200],\n    [\"terrainQuality\", 3.125],\n    [\"terrainQualityName\", \"VeryHigh\"],\n    [\"texQualityName\", \"VeryHigh\"],\n    [\"vramInfo\", [\"5.9 GiB\", \"16 GiB\", \"0 B\", \"978 MiB\", \"5.6 GiB\"]],    // presence not guaranteed [installedVram, sharedVram, systemVram(, used, max)]\n    [\"vsync\", true],\n    [\"waterReflectionQualityName\", \"High\"]\n]\n*/\n```","code":["private _videoOptions = getVideoOptions;\n/*\n[\n\t[\"aspectRatioName\", \"Auto (Stretch)\"],\n\t[\"brightness\", 1.1],\n\t[\"cloudQualityName\", \"VeryHigh\"],\n\t[\"displayModeName\", \"FullScreenWindow\"],\n\t[\"dynLightsCount\", 32],\n\t[\"dynLightsQualityName\", \"VeryHigh\"],\n\t[\"gamma\", 1],\n\t[\"guiScale\", 0.7],\n\t[\"guiScaleName\", \"Normal\"],\n\t[\"hdrQuality\", 16],\n\t[\"hdrQualityName\", \"Normal\"],\n\t[\"monitorResolution\", [0, 0, 2304, 1440]],\t\t\t\t\t\t\t// presence not guaranteed [x, y, width, height]\n\t[\"objectVisibility\", 6000],\n\t[\"objQualityName\", \"VeryHigh\"],\n\t[\"overallPresetName\", \"Custom\"],\n\t[\"overallVisibility\", 8000],\n\t[\"overrideHazeQuality\", -1],\n\t[\"particleQualityName\", \"High\"],\n\t[\"pipQuality\", 2048],\n\t[\"pipQualityName\", \"VeryHigh\"],\n\t[\"pipVisibility\", 3000],\n\t[\"ppBloom\", 1],\n\t[\"ppBrightness\", 1],\n\t[\"ppCausticsQualityName\",\"Enabled\"],\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"anisotropicFiltering\",\"VeryHigh\"],\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"atocQuality\",\"All\"],\t\t\t\t\t\t\t\t\t\t\t\t// fixed in 2.18\n\t[\"ppColorPresetName\", \"Custom\"],\n\t[\"ppContrast\", 1],\n\t[\"ppDOF\", 1],\n\t[\"ppFSAA\", 1],\n\t[\"ppHazeQualityName\", \"Standard\"],\n\t[\"ppPPAAQualityName\", \"CMAANormal\"],\n\t[\"ppRadialBlur\", 1],\n\t[\"ppRotationBlur\", 1],\n\t[\"ppSaturation\", 1.25],\n\t[\"ppSharpenFilter\", 0.75],\n\t[\"ppSSAOQualityName\", \"\"],\n\t[\"refreshRate\", 60],\n\t[\"samplingPercentage\", 100],\n\t[\"shadowQualityName\", \"VeryHigh\"],\n\t[\"shadowVisibility\", 200],\n\t[\"terrainQuality\", 3.125],\n\t[\"terrainQualityName\", \"VeryHigh\"],\n\t[\"texQualityName\", \"VeryHigh\"],\n\t[\"vramInfo\", [\"5.9 GiB\", \"16 GiB\", \"0 B\", \"978 MiB\", \"5.6 GiB\"]],\t// presence not guaranteed [installedVram, sharedVram, systemVram(, used, max)]\n\t[\"vsync\", true],\n\t[\"waterReflectionQualityName\", \"High\"]\n]\n*/"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getResolution","getAudioOptionVolumes","getSubtitleOptions","getMissionOptions"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: System","Introduced with Arma 3 version 2.12","Scripting Commands"]}