setViewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Comment cleanup, description update) |
Lou Montana (talk | contribs) m (Description formatting) |
||
Line 11: | Line 11: | ||
| Set rendering distance. Setting view distance to <{{=}} 0 resets the value to the client's options (set in <tt>Options → Video → General → Visibility → Overall</tt>). | | Set rendering distance. Setting view distance to <{{=}} 0 resets the value to the client's options (set in <tt>Options → Video → General → Visibility → Overall</tt>). | ||
{{Informative|Client-side max view distance is limited by the server's view distance.}} | {{Informative|Client-side max view distance is limited by the server's view distance.}} | ||
{{Important| | {{Important|View distance also defines the maximum distance between a unit and any other unit they can [[knowsAbout|know about]]. | ||
Higher view distance will involve more AI simulation cycles for every unit, which causes low performance.}} | Higher view distance will involve more AI simulation cycles for every unit, which causes low performance.}} | ||
{{ | {{{!}}class{{=}}"wikitable" | ||
{{ | !Game | ||
{{ | !min. scripted | ||
{{ | !min. UI | ||
!default | |||
!max. UI | |||
!max. scripted | |||
{{!}}- | |||
{{!}}{{arma3}} | |||
{{!}}200 | |||
{{!}}500 | |||
{{!}}'''1600''' | |||
{{!}}12000 | |||
{{!}}40000 | |||
{{!}}- | |||
{{!}}{{arma2}} | |||
{{!}}? | |||
{{!}}? | |||
{{!}}'''1200''' | |||
{{!}}10000 | |||
{{!}}15000 | |||
{{!}}- | |||
{{!}}{{arma}} | |||
{{!}}? | |||
{{!}}? | |||
{{!}}'''1200''' | |||
{{!}}10000 | |||
{{!}}? | |||
{{!}}- | |||
{{!}}{{ofp}} | |||
{{!}}? | |||
{{!}}500 | |||
{{!}}'''900''' | |||
{{!}}5000 | |||
{{!}}? | |||
{{!}}} |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 16:32, 25 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 ? ? 1200 10000 15000 Arma ? ? 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