{"name":"setFeatureType","operator":null,"title":"setFeatureType","type":"command","url":"https://community.bistudio.com/wiki/setFeatureType","revid":378060,"updated":"2026-02-04T23:41:20Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.68"}],"since":{"game":"arma3","name":"Arma 3","version":"1.68"},"arma3_since":"1.68","branch":null,"locality":{"argument":"global","effect":"local","server_exec":false},"exec":null,"description":"Enable/disable object as a feature/landmark. Possible feature types:\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>\n> The command returns false if the related limit is reached.","syntaxes":[{"syntax":"object setFeatureType type","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"},{"name":"type","type":"Number","optional":false,"default":null,"description":"the desired feature type","types":["Number"],"since":null,"text":"type: Number - the desired feature type"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if the feature is set, false otherwise (limit reached)","text":"Boolean - true if the feature is set, false otherwise (limit reached)"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"type","types":["Number"]}}],"examples":[{"text":"Set a building to be always rendered:\n\n```sqf\nbuilding setFeatureType 2;\n```","code":["building setFeatureType 2;"]}],"multiplayer":null,"problems":null,"aliases":[],"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."}],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 1.68","Scripting Commands","Scripting Commands: Local Effect"]}