The loading code is weird cause it loads everything just freezes after F["Mob"] >> new_mob it basically loads the mob but then doesnt teleport and I put in the X,Y,Z but I was just testin with numbers. Anyways it just stops doing the rest of the proc after F["Mob"] >> new_mob
LoadCharacter()
var/savefile/F = new("players/[src.ckey].sav")
var/X
var/Y
var/Z
var/mob/new_mob = new /mob
F["name"] >> new_mob.name
F["X"] >> X
F["Y"] >> Y
F["Z"] >> Z
F["Mob"] >> new_mob
src.client.mob = new_mob
new_mob.Move(locate(50,50,1))
ID:146837
![]() Jan 13 2005, 4:33 pm
|
|
![]() Jan 13 2005, 4:35 pm
|
|
oh i know why don't you just jam that long hard code "F["Mob"] >> new_mob" at the bottom. Nothing needs to happen at the end of this complex proc...
|
I tried that but then it teleports you as usual but then doesnt load for you so you're just a blank icon with no stats
|
Well, lets just affect the mob itself, let it try and run from that!
F["Mob"] >> src.client.mob |