viewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \|s1=" to " |s1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 17: Line 17:
|gr2= Environment
|gr2= Environment


| Returns the rendering distance.
|descr= Returns the rendering distance.


|s1= '''viewDistance'''
|s1= '''viewDistance'''

Revision as of 22:27, 13 June 2021

Hover & click on the images for description

Description

Description:
Returns the rendering distance.
Groups:
SystemEnvironment

Syntax

Syntax:
viewDistance
Return Value:
Number

Examples

Example 1:
hint ("my view distance is " + str viewDistance + " meters");

Additional Information

See also:
setViewDistancesetDetailMapBlendParssetTerrainGridgetObjectViewDistancesetObjectViewDistance

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