ID:167216
 
I'm currently working on a project that will involve players building shelters in the wilderness. One thing that I would like to be able to do is determine whether or not any given area is 'inside' or 'outside', based upon whether or not it is enclosed by walls. I'm not at all certain how to go about accomplishing this, however. Would anyone be able to point me in the right direction? Thanks
/area should be a big help to you. All areas of the same type placed on the map are of a single instance. Record the inside area as a variable and check to see if a player is inside that variable. If not, he is outside.

I just recently learned this. It's really cool, a great help.
In response to CaptFalcon33035
Game sounds cool, make it less laggy than Hurricane, please. :<

Other than that, make a build floor ability, when a floor is build it'll change the area of the location is it build on.
In response to CaptFalcon33035
I don't think that's quite what he meant. It sounds to me like he wants to be able to enclose areas, which then turn into the inside area. So a player builds a square with walls, and once the last piece is built, the inside of the square is now an Inside area.

Sorry, but I also haven't got a clue for how to do this :(
In response to Mysame
Thats not quite what I want to do. I want the game to be able to figure out if an area is enclosed by walls, to keep track of things such as protection from elements.
(shameless bump)

Does anyone have any idea as to how this could be done? At first I was thinking of using the block proc, but that doesn't seem as though it would do the trick. Any ideas?