Download

Is it possible to store MaximumScore in the level Blueprint instead of the GameMode Bluebprint?

Hey there,

I’m currently working on a very small game but I like to keep my code-base modular. I have 3 levels with 3 different settings for the maximum score that can be reached. After the score has been reached, the next level starts.

I know that there are a lot of ways to store and check variable-values and then dispatch events accordingly but what I would like to do is have the maximum score as a level-specific variable instead of changing the variable value every time I create a new map using the gamemode or playercontroller or whatever. I hope my intentions are clear.

TL;DR - I want to set and reference the highest reachable score on a level basis through the level blueprint. Is that possible without any major, clunky workarounds?

Yes, you can but it will only suposed to be in that level, ANd why not save it on a savegame object ?