viewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|gr2= Environment |GROUP2= | |gr2= Environment |GROUP2= | ||
| Returns the rendering distance. |DESCRIPTION= | | Returns the rendering distance. |DESCRIPTION= | ||
| '''viewDistance''' |SYNTAX= | | '''viewDistance''' |SYNTAX= | ||
Line 27: | Line 24: | ||
|x1= <code>[[hint]] ("my view distance is " + [[str]] [[viewDistance]] + " meters");</code>|EXAMPLE1= | |x1= <code>[[hint]] ("my view distance is " + [[str]] [[viewDistance]] + " meters");</code>|EXAMPLE1= | ||
| [[setViewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO= | | [[setViewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 04:21, 17 January 2021
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