setDetailMapBlendPars: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 53: | Line 53: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
{{GameCategory|arma3|New_Scripting_Commands_List}} | {{GameCategory|arma3|New_Scripting_Commands_List}} | ||
{{GameCategory|arma3|Scripting Commands}} | |||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 07:30, 9 January 2021
Description
- Description:
- Sets the detail texture map blend pars. Allows for smooth transition between detailed and undetailed terrain texture at distance. If noDetail > fullDetail, the texture detail will incur smooth transition in the area between the thresholds. If noDetail <= fullDetail there will be obvious visible edge between texture detail changes at fullDetail distance.
- 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
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