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"


Hey guys I'm just trying to set up a simple Pause/Unpause system. The pausing works and disables character input but when I enable the input nothings happening...

Any suggestions?

Regards, Dan

Product Version: UE 4.10
more ▼

asked Jan 24 '16 at 02:58 PM in Blueprint Scripting

avatar image

21 1 2

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

PrimaryActorTick.bTickEvenWhenPaused and bShouldPerformFullTickWhenPaused need to be set to true, I believe. Whether that's accessible to BPs, I don't know.

more ▼

answered Jan 24 '16 at 04:04 PM

avatar image

1.7k 79 28 81

(comments are locked)
10|2000 characters needed characters left

Use a SetGamePaused node, check Paused, you can return this to a gameState or something and just uncheck Pause when you set up a function for when Escape is hit again (i.e get gameState variable isPaused (boolean) and if true Escape will change that variable and change SetGamePaused to unchecked (not paused))

Esc -> IF isPaused (false) ->SetGamePaused (Checked) -> SET isPaused (true).....= Paused

Esc -> IF isPaused (true) -> SetGamePaused (Unchecked) -> SET isPaused (false).....= UnPaused

Esc is Escape button, IF is if node, isPaused is a variable of boolean type, SetGamePaused is a node with a Pause checkbox available, that's it! This will change from checked (paused) to unchecked (pause) so long as you use a SET node at the end of each SetGamePaused to change the boolean, the flag or debug variable, to the value of gamePaused so that Escape can know whether to pause or unpause

more ▼

answered Jan 24 '16 at 04:20 PM

avatar image

170 47 47 60

avatar image painedadj Jan 24 '16 at 07:06 PM

Thank you very much. I will check it shortly and get back to you!

avatar image painedadj Jan 24 '16 at 09:05 PM

This was helpful thank you! I think you have to make sure the execute when paused is turned on or the game doesn't recognize the unpause.

avatar image FrederickD Mar 17 '16 at 02:45 PM

I don't get this to work.

i have a similar setup in the player controller, since gamestate doesn't receive key input.

I can pause but not unpause the game.

Only way i can do this is with a umg widget and the mouse, not with a keyboard key input.

it seems key events aren't picked up when paused, even when 'tick when paused' is enabled.

what am i missing? using 4.11p7

avatar image FrakiLoZ May 02 '16 at 02:25 PM

you have to go on your key event and check " execute when paused " in the details panel, the tick has nothing to do with it

(comments are locked)
10|2000 characters needed characters left
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