How do i pause the game without the player controller being paused?
I want to make a pause screen and have the TAB key toggle it on and off.
in the player controller blueprint i have the TAB key branch off depending on the Menu Open state. When opening the menu i pause the game but this pauses the controller as well so that pressing it again doesnt exit out of the menu.
What is the proper way to implement this type of functionality?
asked Mar 26 '14 at 09:29 PM in Blueprint Scripting
There is a Set Game Paused function you can use in the PlayerController, along with Set 'Show Mouse Cursor' and Set 'Enable Click Events'. When paused you can still do cursor driven hitbox events in the HUD class.
Hopefully this helps someone else trying to use the built in controller/keyboard functionality and pausing the game. As i spent 2 hours trying to figure this out and kept ending up on this post.
If you set your hud to SetTickableWhenPaused then you will be able to navigate menu buttons using built in functionality, as long as they have focus. I just set this on my game mode class.
Here is a link to the docs: https://api.unrealengine.com/INT/BlueprintAPI/Utilities/SetTickablewhenPaused/index.html
answered Feb 08 '19 at 11:48 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here