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"

Excluding an event from game paused

Hello, I have a custom event (a countdown before the game resumes), but since the game is paused, the custom event also starts paused.

Is there a way I can exclude it from being affected by the "set game paused" function?

Product Version: UE 4.19
Tags:
more ▼

asked Aug 28 '18 at 09:57 AM in Blueprint Scripting

avatar image

Grey27
41 6 12 12

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

1 answer: sort voted first

Set the actor class which has the event handler to Tick while Paused. Then add condition branches that check the output of the Is Game Paused function (I think that's what it's called). Or maybe it's just the boolean get Game Is Paused.

So then that Actor will continue Ticking while the game is paused, but it won't do any of the things you check against with that boolean branch, but will do anything you don't check against.

more ▼

answered Dec 05 '18 at 07:10 PM

avatar image

mightyenigma
3.8k 18 20 20

avatar image mightyenigma Dec 05 '18 at 07:11 PM

Also the class that sends the event/calls the function needs to not be paused when it would do so. So if it's a UMG widget, you need to make sure the playercontroller whose viewport has the widget can tick while paused too.

(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