setFeatureType: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= ____________________________________________________________________________________________ | arma3 |= Game |1.68|= Game Version (number surrounded by NO SPACES...") |
No edit summary |
||
Line 56: | Line 56: | ||
<!-- Appropriate categories go here e.g. [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] --> | <!-- Appropriate categories go here e.g. [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] --> | ||
[[Category:Scripting Commands|setFeatureType]] | [[Category:Scripting Commands|setFeatureType]] | ||
[[Category:Scripting_Commands_Arma_3|setFeatureType]] |
Revision as of 19:28, 15 April 2017
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