setDetailMapBlendPars: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
Line 34: Line 34:
|seealso= [[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]]
|seealso= [[setViewDistance]], [[viewDistance]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 03:29, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
System

Syntax

Syntax:
setDetailMapBlendPars [fullDetail, noDetail]
Parameters:
[fullDetail, noDetail]: Array
fullDetail: Number - threshold distance in metres up to which the terrain will have full texture detail
noDetail: Number - threshold distance in metres after which the texture detail will be switched off
Return Value:
Nothing

Examples

Example 1:
setDetailMapBlendPars [20, 50];
Example 2:
setDetailMapBlendPars (if (currentWeapon player in [ "Binocular", "Rangefinder", "Laserdesignator" ]) then [ {[300,600]}, {[20,50]} ]);
Example 3:
Reset to default: setDetailMapBlendPars [-1, -1];

Additional Information

See also:
setViewDistanceviewDistancesetTerrainGridgetObjectViewDistancesetObjectViewDistance

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note