turf
Portal
verb
EnterPortal()
var/dest = LocateInLevel(/turf/Portal,z-1)
usr.Move(dest)
ExitPortal()
var/dest = LocateInLevel(/turf/Portal,z+1)
usr.Move(dest)
Problem description: Okay. I have some working portals that transfer you from one Z-plane to another. The code for this is shown above. It works perfectly fine for the defined task.
It it possible to make them teleport people to entirely different map files, though? Is it possible to code in portals that teleport you to different map files at all? If so, could someone show me an example of how it might be done?
I've tried experimenting myself but I haven't come up with anything that actually works.