setObjectViewDistance: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(format)
Line 17: Line 17:




|x1= <code>setObjectViewDistance 2000</code>|= EXAMPLE1  
|x1= <code>[[setObjectViewDistance]] 2000;</code>|= EXAMPLE1  


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


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:08, 18 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

Posted on October 14, 2014 - 15:46
Druid
This command was added in version 0.50, but functionality was completely broken until dev 1.33 (stable 1.34).

Bottom Section