I have a basic spell cooldown inside a widget blueprint, which uses a Delay. I also have a separate function inside my character blueprint for calling a main menu that uses Set Game Paused. When I cast a spell and then pause the game, the Delay doesn’t pause and the cooldown finishes.
How can I make a Delay that obeys Set Game Paused? Is making something like a loop that delays 0.1 second over and over the only option?
If I play the game (either in PIE, separate window, or packaged), alt tabbing pauses the game - which is what I want. However, timelines and delay countdowns don’t get paused.
Thus if the user alt tabs, any function that would be called by the timeline/delay is forgone.