ID:146260
 
Code:
mob/create_character
var/mob/character
Login() //user logs in and is asked for a character name and a race to select
var/charactername = input("Character Name:","Name",src.key)
switch(input("What race do you wish to be?","Race") in list("Saiyan","Human"))
if ("Saiyan")
character = new /mob/characters/Saiyan()
if ("Human")
character = new /mob/characters/Human()
character.name = charactername
src.client.mob = character
src.loc = locate(/turf/start)
del(src)


Problem description: when you log in the locate wont take you to the start turf.
CYN wrote:
when you log in the locate wont take you to the start turf.

Not terribly surprising, since you're moving the old mob, not the new one. You need to set character.loc to the start turf, not src.loc.

Lummox JR
In response to Lummox JR
yeh, that didnt work -.-
In response to CYN
did u place the turf start on the map >.>
In response to RaditzX
yep