Hey everybody, it would be nice to show how to save to multiple slots. Also to load the slot from the Mainmenü. The Tutorial is great.
Hi Morni and welcome to the community.
I’ve edited the title of your post to remove the link to the lecture. it’s best not to post them here in case someone comes across the post from elsewhere and wonders what it refers to.
Saving to different slots isn’t too big a deal as the save operation does specify a slot number. It would be more a case of how you present the slot. I will let the TA elaborate on this.
Beegee has it right, save and loading slots in blueprints is a matter of changing the UserIndex
in both SaveGameToSlot
and LoadGameFromSlot
.
The much trickier part is to set up your UI to populate all of those available “slots”. Typically, you would make a widget that holds and displays the more important details about a given save “slot” then it gets added to a vertical box widget to create a list.
Developing the UI is going to depend on the aesthetic for your game, but to summarize the key points.
-
User Index
forSaveGameToSlot
andLoadGameFromSlot
signifies each save “slot” - Represent import information about a save slot and have it displayed in a custom-made user widget
- Populate a list in your UI with as many save-slot widgets as there are save slots (or leave them empty)
- You’ll want to pick an arbitrary number for the maximum slots for your game.