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 have multiple actors receive keyboard input?

Hello everyone.

I have just started using UE4 a few weeks ago and I am working on an interior scene.
For this scene I have created door blueprint that lets the player open the door if he's in close proximity to it.
The blueprint also has an "Enable Input" node right after "Begin Play".

Now, when I place one instance of this blueprint in my scene, it works just as expected.
But when I place multiple instances from it, only the last placed instance will open,
the first instance(s) completely ignore the input, and when I look into the blueprint editor,
the event for the interact key isn't even fired.

My door blueprint has "Block Input" disabled, so does my player. Both also have the "Input Priority" set to 0.

Thank you in advance!

Product Version: Not Selected
more ▼

asked Apr 02 '15 at 07:26 AM in Blueprint Scripting

avatar image

5 1 2 2

avatar image Narghile Apr 02 '15 at 07:29 AM

Could you post some code for us to look at, might help?


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

1 answer: sort voted first

When you select your input event blueprint it will show the details windows in which you can uncheck "Consume Input" so that every blueprint will receive it and not only the last one.

Consume Input

consumeinput.png (15.0 kB)
more ▼

answered Apr 02 '15 at 07:33 AM

avatar image

1.4k 47 32 103

avatar image PrydeRage Apr 02 '15 at 10:26 AM

Thanks a lot!

(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