davidoss 552 Posted September 1, 2018 Hi. Wanna ask if there can be removed or hided some of buldings furniture like: NOID washing_machine.p3d NOID kitchenstove_elec.p3d NOID fridge.p3d NOID tv_a.p3d by script. Share this post Link to post Share on other sites
phronk 898 Posted September 1, 2018 Is this regarding spawned furniture? If you're referencing furniture that is already modeled into the building, it cannot be done with a script (Unless they are listed as hidden selections or animations that can be animated/hidden out, which to my knowledge no houses have that). If you're talking about hiding general terrainObjects, the kind that are listed as "HIDDEN", then you can make use of the BIS_fnc_inString command to find the objects with the proper classname, as a hint on how to get started with it. 1 Share this post Link to post Share on other sites
davidoss 552 Posted September 2, 2018 Thank you. Unfortunately its about stuff modeled into the building. It just not fit scenario date. Share this post Link to post Share on other sites
bad benson 1733 Posted September 3, 2018 if there exists a version of the same house without the furniture, you could replace the whole building. but i'm guessing it's a proxy on an arma 2 map, right? 1 Share this post Link to post Share on other sites
davidoss 552 Posted September 3, 2018 Its about this beautiful version of old chernarus map - Chernarus_2035. it's breathtaking i am all love in. How to find all buildings with given furniture NOID washing_machine.p3d NOID kitchenstove_elec.p3d NOID fridge.p3d NOID tv_a.p3d NOID pc.p3d and replace with any enterable house without it. Share this post Link to post Share on other sites
gc8 981 Posted September 3, 2018 Maybe some kind of nearest objects command to get the furniture and then hideObjectGlobal to hide them Share this post Link to post Share on other sites
davidoss 552 Posted September 3, 2018 I used this: { if ( (toLower(str _x) find "wreck") >= 0 || {(toLower(str _x) find "garbagepallet") >= 0} || {(toLower(str _x) find "datsun01t") >= 0} || {(toLower(str _x) find "garbagewashingmachine_f") >= 0} || {(toLower(str _x) find "hiluxt") >= 0} || {(toLower(str _x) find "datsun02t") >= 0} ) then { hideObject _x; }; } foreach (nearestTerrainObjects [[10240,10240,0], ["HIDE"], 10500]); to hide wrecks but for furmiture objects is not working, i think because there are no ID thing or other than "HIDE" type. 1 Share this post Link to post Share on other sites
gc8 981 Posted September 3, 2018 @davidoss try nearestObjects, it returns .p3d objects... nearestObjects [player, [], 10] Share this post Link to post Share on other sites
davidoss 552 Posted September 3, 2018 Nope nearestObjects [player, [], 10] is not detecting that stuff. Share this post Link to post Share on other sites
EO 11277 Posted September 3, 2018 As benson mentioned, the furniture in the Chernarus buildings are part of the building model itself so they can't be removed by commands. 2 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted September 3, 2018 2 hours ago, EO said: Chernarus buildings Maybe by replacing the certain buildings with others?! Share this post Link to post Share on other sites
davidoss 552 Posted September 4, 2018 Thanks. Thats was already mentioned by bad benson, but i have no idea how to detect buildings with these furniture. I can search building clasnames for replace but manually find all buildings on the map with these stuff inside looks like too much for me. Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted September 4, 2018 1 hour ago, davidoss said: too much for me. What about asking Crazy Mike ?! Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted September 8, 2018 On 4/9/2018 at 6:30 PM, davidoss said: I can search building clasnames for replace but manually find all buildings on the map with these stuff inside looks like too much for me. If this might help. Share this post Link to post Share on other sites
BRPVP 69 Posted November 23, 2019 Why some objects have NOID in its string name? Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 23, 2019 Because they have no id as they are probably temporary objects 1 Share this post Link to post Share on other sites
BRPVP 69 Posted November 25, 2019 On 11/23/2019 at 5:36 PM, killzone_kid said: Because they have no id as they are probably temporary objects I can assume they are simple objects? Share this post Link to post Share on other sites
killzone_kid 1333 Posted November 25, 2019 Not necessarily 1 Share this post Link to post Share on other sites