{"name":"setFeatureType","title":"setFeatureType","type":"command","url":"https://community.bistudio.com/wiki/setFeatureType","revid":378060,"updated":"2026-02-04T23:41:20Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.68"},"since":"arma3 1.68","arma3_since":"1.68","locality":{"argument":"global","effect":"local"},"description":"Enable/disable object as a feature/landmark. Possible feature types:\n\n- 0 - Feature disabled\n- 1 - Object is always visible within object view distance\n- 2 - Object is always visible within terrain view distance\n\n> [!IMPORTANT]\n> The limit is **500** map/static objects and **200** dynamic objects including config features and auto features (flying helicopters, airplanes).\n> The command returns false if the related limit is reached.","syntaxes":[{"syntax":"object setFeatureType type","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"type","type":"Number","description":"the desired feature type","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if the feature is set, false otherwise (limit reached)"},"form":"binary","left":{"text":"object"},"right":{"text":"type"}}],"examples":[{"text":"Set a building to be always rendered:\n\n```sqf\nbuilding setFeatureType 2;\n```","code":["building setFeatureType 2;"]}],"see_also":["setViewDistance","setObjectViewDistance"],"notes":[{"user":"Waffle SS.","date":"2017-10-10T16:18:00Z","text":"For world objects, command effect persists **after mission restart**. Map must be reloaded to automatically revert setting."}]}