# Save game to slot: ID and slot name?

**URL:** <https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987>\
**Category:** Editor Scripting\
**Tags:** savegame, unreal-engine, question, Blueprint\
**Created:** [July 14, 2016, 7:31am UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987 "2016-07-14T07:31:29Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_dcd9d04a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dcd9d04a](https://forums.unrealengine.com/u/anonymous_user_dcd9d04a)\
**Post date:** [July 15, 2016, 2:23pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/21 "2016-07-15T14:23:26Z")

</div>

well, i had once made an game which had only 1 integer to save (which level the player is on) so i just loaded it and saved it there only ,it was not even noticeable , then the other game which had arrays storing at least 200 materials , that was also quick as most things were done in construction script.

now the method you are using is storing before hand , nice trick but don’t forget to update that value just after saving else you will be in trouble.also save it as soon as player finishes the level else sometimes the device is slow or got heavy files ,cache of other apps can make your game crash (or phone hangs) and gamer annoyed that why it didn’t save,  
. so make sure of these.

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 2:28pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/22 "2016-07-15T14:28:52Z")

</div>

GOT IT WORKING!! a day of distress, but it is worth it.  
Not all heroes wear cape, you know that? 😃 All the help very much appreciated. Now I think more or less I understand how the save game works.  
I had this score, an accuracy of 45%, stored it, no matter how many times I restart the game, the value is there 😃  
If I overwrite it, it get overwritten, I think this satisfies the definition of “working”.  
Once again, a thousand thanks!

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 2:29pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/23 "2016-07-15T14:29:55Z")

</div>

By the way I don’t know what I didn’t understand at the beginning -\_- took me long enough.

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 2:44pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/24 "2016-07-15T14:44:19Z")

</div>

Just another thing, how do I delete my save games? I mean not just one, but all of them? just overwrite with an invalid number?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dcd9d04a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dcd9d04a](https://forums.unrealengine.com/u/anonymous_user_dcd9d04a)\
**Post date:** [July 15, 2016, 2:58pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/25 "2016-07-15T14:58:08Z")

</div>

there is just one slot you have with different value and many variables , rights?   
  
if you want to delete them from blueprint (during the game after build ,like reset game) try this [node](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Game/DeleteGameinSlot/index.html)  
  
  
  
if you want to delete them while developing (due to new variables made or some errors ,delete the file manually , delete from slot does the same but this is fast while devloping

 ![98690-zzz.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/d/bad7c39b3309dde87e5355b54f10a77c15d01443.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dcd9d04a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dcd9d04a](https://forums.unrealengine.com/u/anonymous_user_dcd9d04a)\
**Post date:** [July 15, 2016, 3:48pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/26 "2016-07-15T15:48:25Z")

</div>

thanks to you as well , just noticed my name is on the “this week’s top karma list”   
  
2nd position 😃  
  
(not quit sure how i got there but most of the questions i answered were yours ,so credit goes to you as well!).

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 3:51pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/27 "2016-07-15T15:51:58Z")

</div>

Because you deserve it, that’s how 😃 Hope future or current employers will see it too 😃

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 4:15pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/28 "2016-07-15T16:15:23Z")

</div>

@Prithvi Singh yet another question here: The scores now work as they should, but only if a player exits during the game. The scores do not get saved when we hit “retry”. On this button we only have a get current level name and an open level. On the exit we have a quit application.  
What might be the problem?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dcd9d04a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dcd9d04a](https://forums.unrealengine.com/u/anonymous_user_dcd9d04a)\
**Post date:** [July 15, 2016, 4:29pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/29 "2016-07-15T16:29:45Z")

</div>

when are they both triggered? does the save game gets triggered before quit?

---

<div class="post-metadata">

**Author:** ![agiro](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@agiro](https://forums.unrealengine.com/u/agiro)\
**Post date:** [July 15, 2016, 4:38pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/30 "2016-07-15T16:38:56Z")

</div>

Looks like it was false alert, or I might messed up the rounding (the highscores were saved in float, the output at the ending is percent). Now it saves the scores and orders them as should no matter if the player exits, plays it again, or plays again, but the replay is interrupted.  
I would call it a success 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dcd9d04a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dcd9d04a](https://forums.unrealengine.com/u/anonymous_user_dcd9d04a)\
**Post date:** [July 15, 2016, 4:40pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/31 "2016-07-15T16:40:07Z")

</div>

the save game logic(the part used to save the game) must be applied before the level gets restarted or exited to make it work as intended.

---

<div class="post-metadata">

**Author:** ![araz01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/araz01/32/1028814_2.png) [@araz01](https://forums.unrealengine.com/u/araz01)\
**Post date:** [October 20, 2023, 1:22pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987/32 "2023-10-20T13:22:24Z")

</div>

it so simple, just create a save game bp, add what you want there and use that to change it and save that, the end, why does all this none sense about slots have to do with anything? simple.

[Previous page](https://forums.unrealengine.com/t/save-game-to-slot-id-and-slot-name/363987.md?page=1)
