Yet another question about saving:)
- Posted by echope_ at excite.com
Jul 12, 2001
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???
|
Not Categorized, Please Help
|
|