The title says it all really. I’m trying to load a valid save game and it won’t load it from the main menu.
According to the image, it loaded successfully. So, what’s the problem? Can you elaborate?
It’s loading the game fine, but you can’t use what’s in there without casting to you save game type first
It says it loaded successfully but it won’t go to the saved world. When play is clicked on the menu it is supposed to check if it has one. It does. Valid? Yes it is. But it won’t show the save on the screen
So where should I put cast to save_game
Ah… sorry…!
Do you have code that saves the world modifications?
Here: I just found one:
Right after you’ve loaded it, you have to cast it to your save game type, otherwise it’s no use to you.
What about Object
I just tried it and it still won’t load to the game
To get at the variables you put in your save game, you have to cast. For example my save game has a variable in it called ‘backward key’, so I can go:
I know that but I’m trying to load the location AND the world but it only saves location and no modifications to the world.
I have “Save game to slot” when you click a button but it won’t save world modifications just variables
I think maybe you have misunderstood what ‘save game to slot’ does.
All it does is put your save game blueprint in the slot. So if you have 1 integer in your save game, that’s all that gets saved.
It doesn’t save your whole game.
Everything you want to have in your save game, you have to write the code yourself. There is no automatic method.
If you want something automatic, there are many market place products, and some famous free ones, but I don’t have a link to hand.