setViewDistance: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 12: | Line 12: | ||
| 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.}} | {{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
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
Categories:
- Stubs
- Scripting Commands
- Command Group: System
- Command Group: Environment
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands