setViewDistance: Difference between revisions
Jump to navigation
Jump to search
m (added min/max view distances) |
Lou Montana (talk | contribs) m (Add viewDistance values) |
||
Line 2: | Line 2: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
|eff= local | | |eff= local |Effects in MP= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 28: | Line 28: | ||
{{!}}12000 | {{!}}12000 | ||
{{!}}40000 | {{!}}40000 | ||
{{!}}- | |||
{{!}}{{arma2oa}} | |||
{{!}}200 | |||
{{!}}500 | |||
{{!}}'''2500''' | |||
{{!}}10000 | |||
{{!}}15000 | |||
{{!}}- | {{!}}- | ||
{{!}}{{arma2}} | {{!}}{{arma2}} | ||
{{!}} | {{!}}200 | ||
{{!}}500 | {{!}}500 | ||
{{!}}''' | {{!}}'''3000''' | ||
{{!}}10000 | {{!}}10000 | ||
{{!}}15000 | {{!}}15000 | ||
Line 38: | Line 45: | ||
{{!}}{{arma}} | {{!}}{{arma}} | ||
{{!}}? | {{!}}? | ||
{{!}} | {{!}}500 | ||
{{!}}'''1200''' | {{!}}'''1200''' | ||
{{!}}10000 | {{!}}10000 | ||
Line 49: | Line 56: | ||
{{!}}5000 | {{!}}5000 | ||
{{!}}? | {{!}}? | ||
{{!}}} |= | {{!}}} |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setViewDistance]] distance |= | | [[setViewDistance]] distance |Syntax= | ||
|p1= distance: [[Number]] - distance in metres | | |p1= distance: [[Number]] - distance in metres |Parameter 1= | ||
| [[Nothing]] | | | [[Nothing]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[setViewDistance]] 2250;</code> | | |x1= <code>[[setViewDistance]] 2250;</code> |Example 1= | ||
|x2= <code>[[setViewDistance]] -1; {{codecomment|// reset view distance in {{arma3}}}}</code> | | |x2= <code>[[setViewDistance]] -1; {{codecomment|// reset view distance in {{arma3}}}}</code> |Example 2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] | | | [[viewDistance]], [[setDetailMapBlendPars]], [[setTerrainGrid]], [[getObjectViewDistance]], [[setObjectViewDistance]] |See also= | ||
}} | }} | ||
Revision as of 14:17, 27 May 2018
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).
Game min. scripted min. UI default max. UI max. scripted Arma 3 200 500 1600 12000 40000 Arma 2: Operation Arrowhead 200 500 2500 10000 15000 Arma 2 200 500 3000 10000 15000 Arma ? 500 1200 10000 ? Operation Flashpoint ? 500 900 5000 ? - 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters