x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Product Version: Not Selected
Tags:
more ▼

asked Mar 26 '14 at 09:29 PM in Blueprint Scripting

avatar image

Demonicated
336 33 36 206

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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.

more ▼

answered Apr 04 '14 at 01:17 PM

avatar image

tomofnz
1.1k 46 47 87

avatar image WACOMalt Jun 18 '14 at 07:04 PM

IS it possible to allow regular input while paused? surely there's a way to allow controller axis events and such to control menus, no?

avatar image DizzyWes ♦♦ STAFF Jun 18 '14 at 07:21 PM

Hey,

There's a checkbox to enable/disable input while paused for an input inside the Details panel when you click on a node.

alt text

checkbox.png (5.5 kB)
avatar image Dana Rausch Oct 09 '14 at 04:46 PM

I don't have this "Execute when Paused" feature, just "Auto Receive Input". Can you explain why that is?

avatar image Dana Rausch Oct 09 '14 at 06:05 PM

It was because I hadn't selected the correct node. Once I selected the keyboard key node that I was using, I saw the correct menu.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Feb 08 '19 at 11:48 PM

avatar image

xIAMClassiCx
1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question