On the outside of a building by a door that you want to go inside, Use a trigger zone with the indoor script. this will turn off the terrain.
Then once you are inside and the door is closed, then either at another door or the same door on the inside, Set a trigger zone and the outdoor script, to go back outside and turn the terrain back on.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit