setViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|")
Line 12: Line 12:


| Set rendering distance. Setting view distance to &lt;{{=}} 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 &lt;{{=}} 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.}}
{{Feature|Informative|Client-side max view distance is limited by the server's view distance.}}
{{Important|View distance also defines the maximum distance between a unit and any other unit they can [[knowsAbout|know about]].
{{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.}}

Revision as of 01:14, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
SystemEnvironment

Syntax

Syntax:
Syntax needed
Parameters:
distance: Number - distance in metres
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

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