I've read through some of the existing threads on creating buildings that units can enter (like this one: http://www.hiveworkshop.com/forums/...279/creating-enterable-exitable-houses-62141/)
However, I don't just want to create a building that units can enter, I also want one with a roof that units can walk on. The problem that I am encountering is this: the region for the interior of the building overlaps that for the roof. So I can't simply use regions to trigger whether the roof is shown or hidden, otherwise the roof will be hidden when units try to walk on top of it (since the roof region overlaps the ground level region, and the ground level region triggers the roof being hidden).
Could I use region triggers, but with an additional condition based on the triggering unit's vertical position relative to ground level? In other words, if the unit is inside the region and positioned at ground level, then the roof is hidden. But if the unit moves beyond a certain vertical position threshold (by virtue of climbing a set of stairs), then the roof is shown.
Are there any easier / more elegant solutions than the region + vertical position trigger that I described that DON'T involve setting camera bounds?
However, I don't just want to create a building that units can enter, I also want one with a roof that units can walk on. The problem that I am encountering is this: the region for the interior of the building overlaps that for the roof. So I can't simply use regions to trigger whether the roof is shown or hidden, otherwise the roof will be hidden when units try to walk on top of it (since the roof region overlaps the ground level region, and the ground level region triggers the roof being hidden).
Could I use region triggers, but with an additional condition based on the triggering unit's vertical position relative to ground level? In other words, if the unit is inside the region and positioned at ground level, then the roof is hidden. But if the unit moves beyond a certain vertical position threshold (by virtue of climbing a set of stairs), then the roof is shown.
Are there any easier / more elegant solutions than the region + vertical position trigger that I described that DON'T involve setting camera bounds?