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"

[Bug?] Key input event in PC and in Character

Hello!

I still exploring 3rd person BP template, and I have one problem.

I set "InputKey event" in Player Controller and in my Character BP. See setup in attached image.

alt text

So, it looks like only PC (player controller) event works, and one in Character BP is ignored.

Can you provide any additional info about how it should work?

Thank you!

P.S. Just to be clear. I'm trying to create soft "3rd Person/Side-Scroller" transition in this game.

Product Version: Not Selected
Tags:
bps.jpg (171.4 kB)
more ▼

asked Mar 11 '14 at 05:02 AM in Everything Else

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:02 AM

You dont have them both connected at the same time do you? Reason I ask is it kinda makes sense for the Controller event to take priority over the Character event.

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

1 answer: sort voted first

Hey Dmitry,

Thanks for your report! For an input event such as this, there exists a priority list that determines what order blueprints will process the event. In this case, the PlayerController is higher on the priority list than the Character blueprint, meaning if you use the same input key event in both, the PlayerController's event will fire first and then the Character's event will fire. However, input nodes have an option called Consume Input that, if checked, will consume the key press and only fire the event within that blueprint; any blueprints lower on the priority list will not receive the key press. I believe this is what is occurring with your setup--you can verify by selecting the InputKey node in your PlayerController blueprint and seeing if the Consume Input option is checked.

Thanks!

-Steve

more ▼

answered Mar 11 '14 at 05:02 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:02 AM

Thank you Steve, it works!

About InputKey event.

For now, to assign button in this node, we need to open key dropdown, then find and select desired key.

alt text

Maybe you already have such request, but I repeat - can you make this as dropdown + text search field (combobox), to make key assignment process easier?

Thanks again!

keys.jpg (68.3 kB)
avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 05:02 AM

Thanks for your feedback! I can see how this would help improve work flow and have logged a feature request in our database for changing this drop-down to a combobox.

If you have any other suggestions, please let us know!

Thanks!

-Steve

avatar image DynaMesh Oct 21 '14 at 11:35 AM

Hello, I've got the same problem here, except the Consume Input option won't change anything. The Axis Value read within my Character Blueprint remains 0, while it changes inside my Player Controller (as it should). This input is referenced in my input list, inside the project settings. So I tried getting a direct key input within the character blueprint, and it won't change either.

Thanks a lot!

-Etienne

avatar image Doug E ♦♦ STAFF Oct 21 '14 at 03:58 PM

Hey DynaMesh-

Could you ask this question in a new post. This was from the beta and the problem you're having is likely a new issue that we would like to track and investigate separately.

Thanks

Doug Wilson

(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