Hi there,
I have this challenge with making a blueprint setup for a limited play time in my game covering multiple levels.
there is a lobby where the player starts. The player has for example 20 minutes to complete 3 levels. When the time is over the player returns to the lobby. From this point i want the time to reset and restart when the player starts again.
It must be a loop, sound like a boring game, but i like to fix this with a blueprint setup. Right now i created a setup in the gameinstance to avoid the timer to break when switching from level. I get it working, but the challenging point in this setup is staying in the lobby and restart the timer when playing the game. It is now looping.
This is my setup:
What i try to do in this setup, is to send a true boolean signal to the gameinstance when entering the first level. This must open the gate to start the time. As soon the time is over, it must reset the boolean to false and keep the player in the lobby.
The first image is the gameinstance, the second is the trigger actor to start the game. If anyone knows how to make a solid setup that works, let me know. This is my first serious attempt to build a blueprint that interact with the gameinstance, feels like a seriouse challenge.