ID:175739
 
ok, now i can teleport from map to.... same map...
but how do i teleport from map to other map?
When you compile, all the maps are sorted into Z layers.

If your maps are say:
world.dmp(1 z-layer)
dungeon.dmp(2 z-layers)
ocean.dmp(3 z-layer)

The map would be arranged like so:
Z-layer/map-name(map-layer)

1/dungeon.dmp(z-layer 1)
2/dungeon.dmp(z-layer 2)
3/ocean.dmp(z-layer 1)
4/ocean.dmp(z-layer 2)
5/ocean.dmp(z-layer 3)
6/world.dmp(z-layer 1)

What it basically does is sort the maps alphabetically and then gives z layers sequentially.

so in the above example, if you wanted to go to the 3rd z-layer in the ocean.dmp:

usr.loc=locate(1,1,5)
In response to Nick231
Of course, it's a much, much, much, much, MUCH better idea simply to give tags to the turfs (in the map editor, right click on the turf, then go to edit properties) and then move to them using that tag. So, locate("tag"). Make sure two things never have the same tag.
In response to Nick231
oooh, thx :D