ID:162692
 
Ok, I want to save all the mobs and be able to load them. Anyone know if they can help me?
Search the Demos.
Find some Saving and Loading Libraries, look at some demos, or read and learn the DM guide. The forum will not always give you everything you ask. We are here to give examples and help you with the code YOU create. (exclude a few of the people(largely newbies) who will give the code you ask in a working, but inefficient way).
In response to Pyro_dragons
Pyro_dragons wrote:
Find some Saving and Loading Libraries, look at some demos, or read and learn the DM guide. The forum will not always give you everything you ask. We are here to give examples and help you with the code YOU create. (exclude a few of the people(largely newbies) who will give the code you ask in a working, but inefficient way).


Believe me, there is alot of stuff I've asked on the forums, but I figured out though trial and error to find out how to work it. I normally only come to the fourm when I can't figure it out or need someone to explain it to me in a better more noobish term if you wish to call it that.
In response to Lundex
I was mainly referring to some of the code given to you in other replies as noobish. If you need explanations for something, thats fine. Minor examples, thats fine too. But lately I have seen alot of newbies coming in and asking us to code for them.

I apologize if you took what I said offensively, I was just blowing off a little steam in the wrong direction.
In response to Pyro_dragons
That is understandable, I know how you feel about giving all the answers out with them doing any work. I'm just to get the basic problems out of the way. I just need a minor example to save objs,NPCs, area saved to a list and how to load them. I already got the characters saved. I'm just confused right now.
In response to Lundex
For objects you wish to save, you have to loop through all objects in the world and add them to a list. Then, create a savefile for these objects, like you would to save a char, and put the list into the savefile.
In response to Pyro_dragons
Hmm, ok looping it all with something like for(var/obj/O in world) righT?
In response to Lundex
Right. If you are looking for specific objects or object types, make sure to give it the right pathtype in the for() loop.