Hi everyone, so I got a little problem with saving and loading Interger for my food water and health system so every time I load into the game it just reset it back to 100
here is the code
here are the save game object
I hope someone can help me
You forgot to create a savegame ref when it’s a new save game…
I did create a save game ref
but it still it didn’t load the integer numbers
it just set it to 100
2022-04-06 18-17-42.mkv (9.3 MB)
Are you by any chance getting ‘referenced none’ errors when you stop playing?
Here’s a save game 101:
If you do it like this, it will work.
I can’t see anything in particular wrong with your code.