# What should the load system be?

**URL:** <https://forums.unrealengine.com/t/what-should-the-load-system-be/472034>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 27, 2020, 5:29pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034 "2020-09-27T17:29:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 27, 2020, 5:29pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/1 "2020-09-27T17:29:34Z")

</div>

So this is my save system in my night 1 level bp [Screenshot - fb98f3a7fa08127c1c2ecaeba5bd1e39 - Gyazo](https://gyazo.com/fb98f3a7fa08127c1c2ecaeba5bd1e39) what do i need to change in this main menu level bp to make it a load system [Screenshot - a1b0526032a499ac863cdba6de3bd130 - Gyazo](https://gyazo.com/a1b0526032a499ac863cdba6de3bd130).

---

<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:** [September 27, 2020, 5:50pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/2 "2020-09-27T17:50:21Z")

</div>

It will not work if you create the save game every time…

Same answer as always…:

 ![Using save game.JPG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/f/9f552cc49441193398389fb2baa1287663b0e638.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 28, 2020, 5:10pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/3 "2020-09-28T17:10:59Z")

</div>

yeah i forgot that part right after i made the post but how does this load system look? : [Screenshot - e92fe75d47237877d63934d6ef79993f - Gyazo](https://gyazo.com/e92fe75d47237877d63934d6ef79993f)

---

<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:** [September 28, 2020, 6:10pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/4 "2020-09-28T18:10:40Z")

</div>

It looks a bit weird, because you’re getting a variable out of the save game and then re-saving the save game. But you didn’t change anything…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 28, 2020, 6:42pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/5 "2020-09-28T18:42:57Z")

</div>

Just to clear up the saving and loading is done in two different blueprints saving in the night 1 level bp and the loading in the main menu so do i make 2 local variables one for each bp?

---

<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:** [September 28, 2020, 6:49pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/6 "2020-09-28T18:49:25Z")

</div>

Local variable for what?

EDIT: To be clear, one variable should be in one place. You don’t want two copies of a variable.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 28, 2020, 7:52pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/7 "2020-09-28T19:52:59Z")

</div>

I mean the local variable that is connected to SG Variable

---

<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:** [September 28, 2020, 8:11pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/8 "2020-09-28T20:11:35Z")

</div>

Same here. You don’t want to have more than one copy of a variable.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 28, 2020, 8:16pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/9 "2020-09-28T20:16:40Z")

</div>

So how should i get the local variable from the mainmenu bp to the night 1 bp?

---

<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:** [September 28, 2020, 8:19pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/10 "2020-09-28T20:19:56Z")

</div>

You might not need the variable in two places. But assuming that does make sense, then the best way to share a variable between various places is either the save game or the game instance.

There sometimes isn’t a need for the variable to exist locally. It can just in the save game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 28, 2020, 10:00pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/11 "2020-09-28T22:00:49Z")

</div>

So instead of making the “Local Variable” in the blueprint it is supposed to be That i see you made in your pic above i should just make the var in the savegame?

---

<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:** [September 28, 2020, 10:31pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/12 "2020-09-28T22:31:35Z")

</div>

Yes, it can live in the SG. It really depends how you use it. If you’re going to do a lot with the variable, you have to get it out and put it back later. If you’re only going to +1 or something, it can just live in the SG.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 29, 2020, 12:54pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/13 "2020-09-29T12:54:23Z")

</div>

I really just want it to save if the boolean variable is true or false.

---

<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:** [September 29, 2020, 12:55pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/14 "2020-09-29T12:55:19Z")

</div>

Ok, then do it like in the picture, but use a bool instead of an int 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 30, 2020, 1:41pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/15 "2020-09-30T13:41:43Z")

</div>

Ok so i have this var with a savegame reference should i put that var in the savegame as well? Because the saving is in the night 1 level bp and the loading is in the main menu level bp so do i just put it in the savegame instead of having 2 different savegame references?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 30, 2020, 1:41pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/16 "2020-09-30T13:41:56Z")

</div>

> **[Gyazo](https://gyazo.com/64add78c9fcf0e431452d3399602c6f2)**
>
> Record screenshots and videos that are ready to share instantly. Cut time spent in meetings and chats with async visual communication.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [September 30, 2020, 10:07pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/17 "2020-09-30T22:07:38Z")

</div>

Just forget what i said before i found a work around but can i change the value of the boolean in another bp then the boolean is actually made in? Because i want to set it to true on this part but i can’t set it to true or false since the local variable stops me from setting a value.

---

<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:** [October 1, 2020, 7:28am UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/18 "2020-10-01T07:28:46Z")

</div>

Use the game instance if you want to share variables between blueprints 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [October 1, 2020, 2:43pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/19 "2020-10-01T14:43:29Z")

</div>

but didn’t you just tell me “Yes, it can live in the SG. It really depends how you use it. If you’re going to do a lot with the variable, you have to get it out and put it back later. If you’re only going to +1 or something, it can just live in the SG.”

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [October 2, 2020, 12:15pm UTC](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034/20 "2020-10-02T12:15:41Z")

</div>

Just forget what i said again but what is the point of the local variable exactly? or what does it do?

[Next page](https://forums.unrealengine.com/t/what-should-the-load-system-be/472034.md?page=2)
