{"name":"setDetailMapBlendPars","operator":null,"title":"setDetailMapBlendPars","type":"command","url":"https://community.bistudio.com/wiki/setDetailMapBlendPars","revid":321456,"updated":"2022-05-14T14:48:21Z","groups":["System"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.02"}],"since":{"game":"arma3","name":"Arma 3","version":"1.02"},"arma3_since":"1.02","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Sets the detail texture map blend pars. Allows for smooth transition between detailed and undetailed terrain texture at distance.\n- If *noDetail* > *fullDetail*, the texture detail will incur smooth transition in the area between the thresholds.\n- If *noDetail* <= *fullDetail*, there will be obvious visible edge between texture detail changes at *fullDetail* distance.","syntaxes":[{"syntax":"setDetailMapBlendPars [fullDetail, noDetail]","since":null,"effect":null,"exec":null,"params":[{"name":"fullDetail","type":"Number","optional":false,"default":null,"description":"threshold distance in metres up to which the terrain will have full texture detail","types":["Number"],"since":null,"text":"fullDetail: Number - threshold distance in metres up to which the terrain will have full texture detail"},{"name":"noDetail","type":"Number","optional":false,"default":null,"description":"threshold distance in metres after which the texture detail will be switched off","types":["Number"],"since":null,"text":"noDetail: Number - threshold distance in metres after which the texture detail will be switched off"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[fullDetail, noDetail]","types":["Array"]}}],"examples":[{"text":"```sqf\nsetDetailMapBlendPars [20, 50];\n```","code":["setDetailMapBlendPars [20, 50];"]},{"text":"```sqf\nsetDetailMapBlendPars ([[20, 50], [300, 600]] select (currentWeapon player in [\"Binocular\", \"Rangefinder\", \"Laserdesignator\"]));\n```","code":["setDetailMapBlendPars ([[20, 50], [300, 600]] select (currentWeapon player in [\"Binocular\", \"Rangefinder\", \"Laserdesignator\"]));"]},{"text":"Reset to default:\n\n```sqf\nsetDetailMapBlendPars [-1, -1];\n```","code":["setDetailMapBlendPars [-1, -1];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setViewDistance","viewDistance","setTerrainGrid","getObjectViewDistance","setObjectViewDistance"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: System","Introduced with Arma 3 version 1.02","Scripting Commands","Scripting Commands: Local Effect"]}