Well, Im trying to make it so the stairs will always send you one Z level up or down (depending on the stairs) but there is something wrong with this:
turf
stairsup
icon = 'stairs.dmi'
stairs
icon_state = "stairsup"
Entered()
usr.loc = locate(usr.x, usr.y, usr.z+1)
(the "usr.z+1)" part is suppose to be attatched to the line above.)
Everytime I go on the stairs my screen goes black instead of talking me to the room i have layed out on the Z level above.
Thanks,
o)-< Aleis >-(o
|
||||||||||||||||||||||||||||

You want to do something like:
turf
stairsup
icon = 'stairs.dmi'
stairs
icon_state = "stairsup"
Entered(mob/M)
M.loc = locate(M.x, M.y, M.z+1)
The other thing is make sure that you have something on the map exactly 1 z-level above the stairs (ie. if the stairs are at 50,50,1 make sure there is something at 50,50,2)