ID:164118
 
i need a code that allows players to enter buildings and roam around in the buildings freely.
Congratulations!
In response to Hiddeknight
dude im asking for help not for sarcastic ppl like you im new to coding and i was after a little bit of assistance no need for that crap
In response to Narutofan64
Try clicking the link(And what was sarcastic about it? We must be nearing the 1,000,000 margin by now).


EDIT:

You should be much, much more specific when asking for help. Are these buildings on the same or a different Z level? Or somewhere else on the same Z level, but far away? Do you need them to enter at a specific point? Have you tried something and had it not work, or are you clueless where to begin and need some pointers?


EDIT 2:

Code is not plug and play, each snippet of code is unique to that file. I can not make something for you, and I will not try. From this particular problem, you obviously have not read the DM guide or done many(If any) tutorials, because this problem is covered.

I will explain without using code, and if you understand the problem will be fixed. If not, you will not understand what I am saying.


You need to relocate the atom/movable that has entered the particular warp point to the exit point, either through directly resetting the loc or by calling Move(). The easiest way is to have a shadow Z layer below each overworld Z layer, then place the buildings on the Z layer underneath, so that when entering and exiting everything is automatically mapped in for the code. I would not recommend this, and instead would opt for a real building without warp points, allowing for an opening and closing door with a roof to provide realism. However if you really need warping, I would do the first way, if it were me.
In response to Hiddeknight
i have clicked the link
In response to Narutofan64
Narutofan64 wrote:
i have clicked the link

Dramatic music here.
In response to DivineO'peanut
wa :S
In response to Narutofan64
My point exactly...

You are yet another newbie to DM coding who has foregone the guides and tutorials to dive directly into a game with no idea of the concepts. Which is why I posted

Congratulations!

And suggested looking at the link. Although it does have it's sarcastic points, underlying is a very good way to enter DM programming. Such as viewing guides and tutorials. If you bought a new game, and it suggested you do the tutorial to get up to speed with the unique features of the game, would you say, "No way, I'll jump head-first into online gameplay, and expect to beat everyone, too!"?
In response to Hiddeknight
dude i understand what you are saying which is why i have clicked the linked and im now reading the tutorials on there
In response to Narutofan64
Excellent.