Yet another question about saving:)

new topic     » topic index » view thread      » older message » newer message

Hey everyone, me again :)
       I had a question on saving a while back, I wanted to know how to 
save a few variables using some sort of simple database. Rolf said to 
use open() to write a sequense s to a file with the print() finction... 
Thanks Rolf but I am not completely sure I understand, what you said is 
most likely right but I still just don't understand with my current 
knowledge of Eu... Can you or someone please give a simple example on 
how to save a few things into a database that will be brought up again 
on the game when the user chooses some sort of LOAD feature?

Some information I might want to save into some sort of database might 
be:

--...
object HP, Mana, Stamina, Armor, --etc...
HP = 20
Mana = 5
Stamina = 5
Armor = 5 ---and so on


After I have the variables declared and assed values how can I SAVE the 
current values of the variables to be brought back when the user LOADS?

Can anyone help??? smile

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu