These params are offsets (X, Y, Z) from cetral point of house. (id == 0xA2 ? 24 : 27) - they're just Z -cases for different door ItemIDs
For example, you can place a multi in the game, such as a scripted house, and check the center point with the following command: [area interface where...