ID:178197
 
I'm having trouble with the BYONDBwiki Title Screen tutorial. There are no errors but when you join it takes you to my first z cordinate.(The title screen is the first z cordinate.) I want it to take me to the second z cordinate though...Here is my coding...

turf
Title_Screen
icon = 'title screen.dmi'
icon_state = "title screen1"

Start_Point
icon = 'title screen.dmi'
icon_state = "start point"

mob/spectator
icon = null
Move()
New()
..()
loc = locate("Start_Point")
Logout()
..()
del(src)

world
mob = /mob/spectator

mob/spectator/verb/Join()
client.mob = new/mob/PC()

Please tell me how to make it login to the second z cordinate.

Thanks,
Punkrock546
make 3 location var...

var/start_x = x
var/start_y = y
var/start_z = z

then make loc like this...

loc=locate(start_x,start_y,start_z)

if this doesn't work... ask a proffesional
This line:

loc = locate("Start_Point")

tells BYOND to look for something with the tag var set to "Start_Point". You didn't set any tag vars, so you want it to locate the Start_Point turf by it's type path:

loc = locate(/turf/Start_Point)