Create a new variable inside another BP

Hello,
I am thinking: can I create a variable in Runtime in another blueprint?

Why im thinking?
I have a game with 50 levels. When you finish a level, you unlock the next one. So I am trying to figure out, if I can create a variable in SaveGame blueprint in runtime. That would be easy:

  1. Finish LVL_X
  2. Create variable in savegame: LVL_Xcompleted true
  3. In menu you can open the next level… (and the previously opened).

If that’s not possible, I’m gonna have to create 50 times a bool variable now…

Thank you for tips.

1 Like

By default, no, you can’t change the structure of the save game at runtime.

You can make an array of bools, so you know which levels you have completed.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.