2 timers, allow 1 to run while game is paused?

cnapsys
Mon, 23 Jan 2023 17:50:00 +0000
Blueprint

Hey all, need a bit of guidance figuring out how to approach this.

When my game loads I have a Set Game Paused (true) in my GameMode. After that, I load a MainMenu widget.
I also have a Countdown Timer here (that ends the game when it runs out), that I only want to run when the game is unpaused:

In my GameState, I have a Set Timer By Function Name, that I would like to be able to run, After the MainMenu is closed and when the HUD (widget) EventConstruct kicks in.

This is where I would like for it to kick in, before the game is unpaused:

Basically, close the MainMenu, put the HUD up, let the user see the level while paused, have a 3,2,1, Go counter and unpause the game and let the user play, (and have the game mode timer starting). How can this be achieved?

As always, any tips are greatly appreciated

97 posts - 2 participants