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. 

DisableInput node not working on one Map/Level

Hello, I have been using the DisableInput and EnableInput nodes for a while now and they work perfectly, but I've just discovered today that they don't work in one specific map.

I've tried using GetPlayerCharacter, GetPlayerPawn etc, as well as casting to no avail.

I've tried using the nodes inside this map within actors, on BeginPlay in the Level Blueprint etc and it's as if it's ignoring it completely and continuing through the script.

I've put a lot of work into this map/level and I do not wish to start all over again, but I will have to as a last resort. Any advice would be fantastic! Thank you in advance. :(

Product Version: UE 4.21
more ▼

asked Apr 16 '19 at 12:38 AM in Blueprint Scripting

avatar image

1 1 1

avatar image movinglight Apr 16 '19 at 02:48 PM

Was having the same problem once. Make sure to use "Get Player Pawn" and "Get Player Controller" as targets on the "DisableInput" or "EnableInput" nodes. Your Player Index also has to correspond to the correct player. Maybe try "-1" as index on the "Get Player Controller" node, this should disable all input for every controller as far as I remember.

avatar image ErebusOnyx Apr 17 '19 at 01:49 AM

Thank you for your response! I tried your suggestions and unfortunately they didn't work. I ended up making a custom event with Booleans before the allowing of input to make sure it works. And of course another Custom Event to reverse the changes. Hope this helps someone else!

capture.png (220.2 kB)
capture2.png (195.0 kB)
capture3.png (170.8 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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