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 to pause a running widget animation when game is paused

Hi everyone,

I've got a pause menu set up in my game, all nicely working. I also have a widget animation of instructions I made through widgets. It's animated, as in lines fade in/out as the each instruction goes on.

The only problem is that the widget is not affected by the Set Game Paused of my pause menu. Other non animated widgets are fine, but animated ones go on even when the game is paused.

If you have any ideas as to how manage this, please tell me! Thanks for your time.

Product Version: UE 4.19
Tags:
more ▼

asked May 29 '18 at 08:24 AM in Blueprint Scripting

avatar image

adir89457
1 1 3

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

1 answer: sort voted first

Hello!

You can fire an event(dispatcher ) when you pause and bind to a pause event inside your widgets to set animation in pause.

Hope it helps

more ▼

answered May 29 '18 at 09:04 AM

avatar image

AZTECCO
1k 17 8 15

avatar image adir89457 May 29 '18 at 05:01 PM

Thanks for replying! I'm really a beginner so I don't know how to do all that correctly.. could you please be a little more detailed? I would really appreciate it.

avatar image AZTECCO May 30 '18 at 07:34 PM

I recommend to read the documentation first, there's no reason to explain the basics here plus you will not learn this way, but an easy way is to make a custom event inside your widget called pause, from this event set animation pause.

From your graph where you pause the game , get your widget and call the pause event from it.

There is also the option to disable thick when game is paused inside your widget but idk exactly

(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