ID:173636
Dec 6 2003, 9:04 am
|
|
Page me if you have one good that i can use please i need one for my game Because mine dont work
|
In response to sapphiremagus
|
|
maybe he is trying to save objs in world. if so, make a save proc that saves every obj in world. save their x,y, and z locs into a savefile.
|
In response to ZDarkGoku
|
|
When i save i pretty sure it saves the map with my code but load freezes. I need the code for a list with all the stuff. But someone told me it has to delete everything on the map to load i need a code bad
|
In response to ZDarkGoku
|
|
That never worked for me. And many others have said the same, but who knows...it may just be me =P Here's something I'm positive will work:
Save() |
In response to Goku72
|
|
It wont work it says
Mob verb Save() var/savefile/Objects=new/savefile("objs.sav") var/Num=0 for(var/obj/O in world.contents) Objects["Object[++Num]"]<<O Objects["Num"]<<Num world<<"[Num] Object\s saved successfully!" Load() var/savefile/Objects=new/savefile("objs.sav") var/Num=0 Objects["Num"]>>Num if(Num) for(var/i=1 to Num) var/obj/newobj cars["Object[i]"]>>newobj world<<"[Num] Objects\s loaded successfully!" Save and load.dm:17:error:cars:undefined var |
In response to Strawgate
|
|
Strawgate wrote:
It wont work it says Mob |
On to your question, what exactly are you looking for? "A save map verb" is pretty vague. What mechancis are involved? Are you using SwapMaps? This is information we need. If you can post what you have already, that would also be helpful.