# Save System

**URL:** <https://forums.unrealengine.com/t/save-system/597759>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, question, Blueprint\
**Created:** [July 5, 2022, 5:45pm UTC](https://forums.unrealengine.com/t/save-system/597759 "2022-07-05T17:45:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EspectroZero](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EspectroZero](https://forums.unrealengine.com/u/EspectroZero)\
**Post date:** [July 5, 2022, 5:45pm UTC](https://forums.unrealengine.com/t/save-system/597759/1 "2022-07-05T17:45:12Z")

</div>

Hi! I’m new in unreal engine blueprints. And I’m creating a game based in a online course, but the course don’t teach how to save my inventory items. I took the Epic Games save course, but I couldn’t implement it in my project. I watched a lot of tutorials in Youtube, but the project ended with a lot of erros.

Take a look in my blueprint classes:

This is my inventory Struct:

 ![InventoryStruct](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/2/97287a21c875015915c336e6be6841826cd6e00c.png)  
This is my add item function:  
 ![AddItem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/8/ca86af421ca5c402ea261b082e7535b21a96dc27.png)  
 ![AddItem2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/c/29cd1568daa1daed14c2ce43fd1f10f5ee4dc92a.png)  
 ![AddItem1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/8/5787881e2ea952ade792e00e06ab36156e54aafa.png)

This is my check for Empty Slot Function:

 ![Check for Empty Slots](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/1/b51379610359da03eac066c36d82eb0148bc8818.png)

This is my save game class

 ![SaveGame](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/3/5d32a71ce2c59b974b33d17a7bc71d4bb422cad1.png)

This is the component placed in the character class. This handles the Add Item, Check for empty slots etc  
 ![CharacterClass](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/2/6320f509bc874f075650b47bce7f2d4f2c05ec0b.png)

Thanks for all!

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 5, 2022, 7:46pm UTC](https://forums.unrealengine.com/t/save-system/597759/2 "2022-07-05T19:46:24Z")

</div>

So how is this supposed to work?

You’re storing an array of classes and how many copies of that class of object the player had?

It’s hard to tell what’s in your save game, because there’s a dialog box right over the crucial bit, but I’d say ( looking at this ), what you need is an array of sandboxes ( your structure ).
