setViewDistance

From Bohemia Interactive Community
Revision as of 16:13, 25 May 2018 by Lou Montana (talk | contribs) (Comment cleanup, description update)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Set rendering distance. Setting view distance to <= 0 resets the value to the client's options (set in Options → Video → General → Visibility → Overall).
Client-side max view distance is limited by the server's view distance.
view distance also defines the maximum distance between a unit and any other unit they can know about. Higher view distance will involve more AI simulation cycles for every unit, which causes low performance.

View distance information by game, to format min scripted/min UI/default/max UI/max scripted:
Logo A0.png1.00 ? / 500 / 900 / 5000 / ?
Logo A1 black.png1.00 ? / ? / 1200 / 10000 / ?
Logo A2.png1.00 ? / ? / 1200 / 10000 / 15000

Arma 3 logo black.png1.00 200 / 500 / 1600 / 12000 / 40000
Groups:
Uncategorised

Syntax

Syntax:
setViewDistance distance
Parameters:
distance: Number - distance in metres
Return Value:
Nothing

Examples

Example 1:
setViewDistance 2250;
Example 2:
setViewDistance -1; // reset view distance in Arma 3

Additional Information

See also:
viewDistancesetDetailMapBlendParssetTerrainGridgetObjectViewDistancesetObjectViewDistance

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

Notes

Bottom Section