world
New()
if(fexists("Map.sav"))
var/savefile/F=new("Map.sav")
F["Map.sav"]>>MOBS
for(var/mob/cars/O in MOBS)
O.loc=locate(O.lastx,O.lasty,O.lastz)
MOBS.Cut()
Del()
var/savefile/F=new("Map.sav")
for(var/mob/cars/O in world.contents)
O.lastx=O.x
O.lasty=O.y
O.lastz=O.z
MOBS.Add(O)
F["Map.sav"]<<MOBS
return ..()
ID:148203
May 29 2003, 10:23 pm
|
|
Ok, I'm using Super16's obj saving...but, I changed it to load/save certain mobs instead, but it isn't loading, I'm not even sure it's saving, but...here it is:
|