Problem with pausing/ unpausing game
Hello community, got a little problem here. I want to pause my game by pressing Esc- key and also showing a widget (Pause Menu). By pressing Esc again, the widget should disappear and the game should continue. This works for the first time, however it doesn't work afterwards. So when I press Esc the game pauses and the widget is shown and when I press Esc again the game continues and the widget disappears, but when I press Esc again nothing happens and I don't know why. Here is my blueprint code:
asked Jun 08 '19 at 01:49 PM in Blueprint Scripting
you'd have to set the pause menu variable to a null value when you unpause the game. A null value is just a 'set' node without anything being set.
right now the variable going to be valid after the first press onward.
or you can use a flipflop node.
answered Jun 08 '19 at 02:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here