Thalassicus
Bytes and Nibblers
How can I save data for a specific game? I tried this:
I then did this:
I figure I need to concatenate some unique identifier to the variable to ensure it's only associated with a specific game...
PHP:
saveDB = Modding.OpenSaveData()
if saveDB.GetValue("CheckSomeValue") then
print("Load")
else
print("Start")
saveDB.SetValue("CheckSomeValue", true)
end
- Start a new game.
- Exit to main menu.
- Start a new game.
Start
...
Load
I figure I need to concatenate some unique identifier to the variable to ensure it's only associated with a specific game...