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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

I don't know how to make an input run through my BP when I hit it over and over again?

So I've been creating a very basic pause menu using widgets and then scripted it to my character. I set up the bluprint using a branch so if the widget is shown, "P" will cause to close it and vise-versa. When the simulation runs and I hit "P", the menu comes up but I want to make it easy to use so the player can hit "P" again to close out the menu. Anyone know what I'm doing wrong??alt text

Product Version: UE 4.12
more ▼

asked Sep 14 '16 at 06:51 PM in Blueprint Scripting

avatar image

2 1 3 5

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

1 answer: sort voted first

Instead of remaking it, just hide it.

alt text

more ▼

answered Sep 14 '16 at 07:15 PM

avatar image

2.7k 106 35 178

avatar image Chibey Sep 16 '16 at 02:25 AM

Oh that's a good idea too! But the main problem I was having was that I can't hit "P" again to make it run through the BP again and make it close out the widget. It wont pulse the second time i hit "P".

avatar image NoobsDeSroobs Sep 16 '16 at 11:57 AM

The problem is likely that you are not sending the input to the UMG. https://www.youtube.com/watch?v=rMUkVL9UPoI You have to tell the game what input mode you want. Just game, game and UI or Just UI. Make sure your input key can reach the code you posted.

(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