Place the type of building down you want to replace and in the object init place,
buildingZ = (position this nearestobject ID); this setPos [(getPos buildingZ select 0), (getPos buildingZ select 1), 0]; this setDir (getDir buildingZ); buildingZ hideObjectGlobal true;
Where ID is put the ID of the house you want to replace on map.
This isn't limited to buildings it could replace practically anything.
hideObjectGlobal is synced to all clients even jips. This was added in ArmA 3 so no longer do you have to use attachto or setdamage.
Example of usage:
Edited by Clark, 2015-03-07 @ 06:58.