setFeatureType

From Bohemia Interactive Community
Revision as of 20:28, 15 April 2017 by DarkChozo (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Set an object's feature type, which determines rendering behavior at view distance.

Feature types:
0: Object is rendered when in object view distance.
1: Object has priority to be rendered at object view distance, and may be rendered slightly outside of object view distance.
2. Object is always rendered (if in world view distance).
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
object setFeatureType type
Parameters:
object Object
type Number - the desired feature type
Return Value:
Boolean

Examples

Example 1:
Set a building to be always rendered: building setFeatureType 2;

Additional Information

See also:
setViewDistancesetObjectViewDistance

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

Bottom Section