# Create infinite save slots

**URL:** <https://forums.unrealengine.com/t/create-infinite-save-slots/226463>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 26, 2021, 12:01am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463 "2021-04-26T00:01:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BiboDerTeppich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Post date:** [April 26, 2021, 12:01am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463/1 "2021-04-26T00:01:24Z")

</div>

hey everyone,

does anyone know how to create a savegame system with a near infinite number of slots? What i am locking for is a way to create a new savegame every time you press new game and then if one goes back to a load game menu to see all savegames in a scrollbox. Sort of like in games like Borderlands or to some extent the elder scrolls/fallout although i only want 1 save per character and not for every single quicksave.  
Help would be greatly appreciated because im trying to get this to work for wayy to many hours now.

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [April 26, 2021, 4:08am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463/2 "2021-04-26T04:08:42Z")

</div>

Start out with a single savegame slot called “names” that contains only an array of the names of each save. Whenever a new character is made, add the character’s name to the array, and whenever one is deleted, remove it from the array.

For each character, make a new savegame slot for that character. This is the actual “save” that contains all the savegame data for that character. Whenever a character is added, make a new slot, and whenever one is deleted, delete their slot.

Here are all the savegame nodes for reference: [Save Game | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/BlueprintAPI/SaveGame/index.html)

* * *

This is what the flow should look like:

- New Savegame:
  1. Load slot “names”
  2. Add new name to the array and save slot “names”
  3. Create a new slot with that name and save it

- Load Savegame:
  1. Load slot “names”
  2. Display array of names
  3. After player selects a name, load the slot with that name

- Save Savegame:
  1. Save the currently loaded slot

- Delete Savegame:
  1. Load slot “names”
  2. Remove the name from the array and save slot “names”
  3. Delete the slot with that name

---

<div class="post-metadata">

**Author:** ![BiboDerTeppich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Post date:** [April 26, 2021, 6:28am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463/3 "2021-04-26T06:28:52Z")

</div>

first of all thanks for the reply,

Now i think i did what you mean however i cant seem to find out how to tell which button gets pressed to load or delete a saveslot. Is there a way to get the object reference of a button once you click it? Or some other way of finding out what button got clicked?

This is the button that creates new saveslots rn and im not using the saveslot index for anything though i though i could use it for it somehow i failed to figure that out so far.

 ![scripting2](https://d3kjluh73b9h9o.cloudfront.net/original/3X/0/6/06aa545238fd54b30e8e2e98d3ad5fc72f8c3bdc.png)

---

<div class="post-metadata">

**Author:** ![BiboDerTeppich](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiboDerTeppich](https://forums.unrealengine.com/u/BiboDerTeppich)\
**Post date:** [April 26, 2021, 10:24am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463/4 "2021-04-26T10:24:15Z")

</div>

okay i found out how to do it.

in case anyone has the same problem just use the “reference to self” node

---

<div class="post-metadata">

**Author:** ![Amir\_0717](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amir\_0717](https://forums.unrealengine.com/u/Amir_0717)\
**Post date:** [July 20, 2023, 5:24am UTC](https://forums.unrealengine.com/t/create-infinite-save-slots/226463/5 "2023-07-20T05:24:08Z")

</div>

Can make short tutorial on infinit save slots.  
which can used by community for AI or interactable objects or best whole game state(both ) if possible I’m don’t any dynamic solution for save system.
