setViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETVIEWDISTANCE]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SETVIEWDISTANCE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|SETVIEWDISTANCE]]
[[Category:Scripting Commands ArmA|SETVIEWDISTANCE]]


| ofp |= Game name


<h2 style="color:#000066">'''setViewDistance ''distance'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Set rendering distance, in metres. Default is 900m, accepted range is 500m to 5000m. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''setViewDistance''' distance |= Syntax


'''distance:''' [[Number]]
|p1= distance: [[Number]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>setViewDistance 2250</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Description:'''
}}


Set rendering distance, in metres.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Default is 900m, accepted range is 500m to 5000m.
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|SETVIEWDISTANCE]]
 
[[Category:Scripting Commands OFP 1.96|SETVIEWDISTANCE]]
'''setViewDistance''' 2250
[[Category:Scripting Commands OFP 1.46|SETVIEWDISTANCE]]
[[Category:Scripting Commands ArmA|SETVIEWDISTANCE]]

Revision as of 00:37, 2 August 2006

Hover & click on the images for description

Description

Description:
Set rendering distance, in metres. Default is 900m, accepted range is 500m to 5000m.
Groups:
Uncategorised

Syntax

Syntax:
setViewDistance distance
Parameters:
distance: Number
Return Value:
Nothing

Examples

Example 1:
setViewDistance 2250

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

Notes

Bottom Section