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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Pause Menu

I wan't to make Pause Menu to my Multiplayer Game.


alt text


When i pressed P letter the Pause Menu is appear and i can't move with the character but i can click in the pause menu (it's good). When is pressed again the P letter the menu isn't hidden and not happen anything.


What should i do?

Product Version: UE 4.19
Tags:
pause.png (168.5 kB)
more ▼

asked May 13 '18 at 04:26 PM in Blueprint Scripting

avatar image

MRDANI69
5 1 3 8

avatar image ThompsonN13 May 13 '18 at 04:44 PM

im guessing that you are using the pause game node somewhere, if thats the case then you should just need to select your P input node and go to the details panel and check the execute when paused checkbox.

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

1 answer: sort voted first

I am guessing the problem is that on your FlipFlop B wire, it goes to a Remove From Parent node which is trying to reference the widget wire from the Create Widget node, but that Create Widget node does not execute on the B wire of the flipflop, so it the wire for the widget is probably empty!

I recommend you store the reference to the created widget in a variable and wire THAT to the Remove From parent node, because the variable will still exist when the B wire executes but the create widget reference wire probably wont since B is executing and A is not executing.

Another option would be to do a Get All Widgets Of Class and get the one at the Last Index of the array that returns, which will be the most recently created one, and wire THAT to the Remove From Parent node. Or even loop through ALL of the array just to make sure you got every pause menu ever created and remove each one.

Any of the above approaches will probably fix your problem.

more ▼

answered May 13 '18 at 08:22 PM

avatar image

mightyenigma
3.8k 18 20 20

(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