setObjectViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(command doesn't work)
No edit summary
Line 4: Line 4:
| arma3 |= Game name
| arma3 |= Game name


|0.50|= Game version
|1.33|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the rendering distance of objects.
| Sets the rendering distance of objects (and shadows). |= Description
 
'''This command does nothing and also throws error when 3 element array is passed: <nowiki>http://feedback.arma3.com/view.php?id=11835</nowiki>'''  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setObjectViewDistance''' dist |= Syntax
| '''setObjectViewDistance''' dist |= Syntax


|p1= dist: [[Number]] or [[Array]] - Array in format [vehiclesZ, staticZ, treesZ]  |= PARAMETER1  
|p1= dist: [[Number]] or [[Array]] - Array in format [objectDist, shadowDist]  |= PARAMETER1  


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  
Line 20: Line 18:


|x1= <code>setObjectViewDistance 2000</code>|= EXAMPLE1  
|x1= <code>setObjectViewDistance 2000</code>|= EXAMPLE1  
|x2= <code>setObjectViewDistance [2000,800]</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:44, 14 October 2014

Hover & click on the images for description

Description

Description:
Sets the rendering distance of objects (and shadows).
Groups:
Uncategorised

Syntax

Syntax:
setObjectViewDistance dist
Parameters:
dist: Number or Array - Array in format [objectDist, shadowDist]
Return Value:
Nothing

Examples

Example 1:
setObjectViewDistance 2000
Example 2:
setObjectViewDistance [2000,800]

Additional Information

See also:
setViewDistance

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