Could be scripted. All you have to do is detecting when a player presses F ('KEY_SECONDARY_ATTACK' I guess) using OnPlayerKeyStateChange then check if he is in the range of that building using IsPlayerInRangeOfPoint then set their interior, position, etc depending on the building.