How to make level change after scoring the right amount of points?

Hello!

I’m starting to learn things in Unreal. I created endless runner where you collect coins. I wanted to add another levels after scoring 100 coins for example but I don’t really know how to do it. Tried something with triggerbox but it did not worked out. Any helpfull ideas or tips?

1 Like

hi @Maoryss

when you collect a coin, probably you run in a triggerbox , right?
So you have to add an event that add some point on your variable.
you should store this variable in a place always reachable between the levels.
take a look at game instance or this video

When you collect a coin, check also the amount, and if the amount is 100, start opening a level.

1 Like