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"

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. 

How to use multiple InputActions for 1 key press?

I want the F key (which I'm calling FlashlightToggle) to do 3 things:

  1. switch animations from walk with flashlight/walk without

  2. change the speed slow/fast

  3. turn the spotlight on/off

I got the first 2 working together with a sequence in the character's Event Graph. And the spotlight toggle works on it's own. But it seems when there is more than 1 input for a key press event, only 1 of them works (the spotlight in level blueprint works, but ignores the character blueprint).

So I'm lost as to how multiple events can be used on a key press if sequences can't be used between the character blueprint and level blueprint? How to connect the 2 graphs?

Here's my graphs: alt text

Product Version: Not Selected
Tags:
more ▼

asked Sep 06 '14 at 07:05 PM in Blueprint Scripting

avatar image

visoutre
128 16 18 268

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

1 answer: sort voted first

Figured it out, Consume Input of the InputAction in the Level Blueprint has to be unchecked

more ▼

answered Sep 07 '14 at 01:05 AM

avatar image

visoutre
128 16 18 268

avatar image KennethMundt Jan 08 '15 at 01:19 PM

Wuhuuuuu :) Yeah... Wauw... I have literally spent two days (12 hours or so) looking for a solution to this exact problem.. It was driving me crazy.. Makes me wanna cry.. What a relief.. THANK YOU :)

avatar image Macler Jun 08 '15 at 04:07 PM

Thanks for this answer, was looking for this aswell. :)

ML

(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