Panadur 10 Posted September 26, 2013 Hi Guys, Is there a way to hide a special building on a map? For Example, i would like to hide the Land_a_stationhouse in Elektro, but not that one in Chernogorsk. I know how to hide all buildings on a map that belong to the same class, but i would like to do this for few buildings only. I know i can check player position and then use nearestobjects and then use hideobject, but i think this is not very efficient way, to hide buildings. I'd like to define the hidden buildings at mission start and not check if the player is near the objects i want to hide again and again. I would be very grateful if someone could help me with this Share this post Link to post Share on other sites
Silderoy 1 Posted September 26, 2013 You can use the object ID of the building. Im not in my pc right now, but just search the forums or google for how to use the OID. Share this post Link to post Share on other sites
Harzach 2518 Posted September 27, 2013 Place a logic on top of the building. In the logic init: hide1 = nearestBuilding this; hide1 hideObject true; hide1 enableSimulation false; You can change the variable "hide1" to whatever you wish. If you want to hide multiple buildings, just increment the variable (hide1, hide2, hide3, etc.) for each logic. Unfortunately, this method does not work for every type of building/object. Share this post Link to post Share on other sites