ID:177161
 
I am using Deadons character handling library, and I need to save variables on a mob that isn't a PC. How do I do this?
Hazman wrote:
I am using Deadons character handling library, and I need to save variables on a mob that isn't a PC. How do I do this?

You wouldn't use the character handling library to handle a non-character. Instead, you need to rely on save routines for your own game, like a world map save.

Lummox JR
In response to Lummox JR
Can you suggest a way of doing this?
In response to Hazman
Look up savefiles in the reference. Also check out http://www.deadron.com/byond/ByondBwicki.dmb?SaveFiles
In response to Crispy
I can't do the damn savefile. I still don't understand the system, but I see what you roughly have to do. Create a savefile and put stuff in it with << and read with >>. I don't understand how to save multiple objects with the same name but a different Lock. ( Lock is the var I'm using to ideentify each door so only someone with the key can unlock it.)
In response to Hazman
I believe you should be able to save multiple items with the same name in the same savefile without any complications.