Enhanced input - Get action value returning 0

Hello,

I would like to prevent an input when another one is pressed (boolean type), both are in the same BP and inputs are activated for this BP (everything works fine).
I think the best way is to get IA_Action value and a branch, but this is not working.

I’ve put 2 prints directly on the boolean input to try to understand :

When I maintain the input, the blue print say “true” while the second one says “false”.

image

Using console command to debug inputs, the input is correctly triggered (as the blue print already teaches, and the code I have instead of the prints is triggered)
What am I missing?
I don’t quite understand since I’m using same technic in other blueprints with either axis or action values and I have no issue. I even have a get axis value working whereas the input isn’t implemented in any blueprint.
All my inputs exist only in one blueprint at a time.

I did a test and it is working for me. Could it be a Modifier or Trigger?

Pressing Test1
image
Pressing Test2
image
Pressing Both
image

1 Like

Nope, I don’t have any of these :

Try this, even though it should work the way you have it.
Connect the ActionValue to the branch.
I had to connect the Completed pin or the ActionValue would remained true.

1 Like

That works, even if it is not very elegant :smile:

It will probably re-work as intended randomly in the future

Thanks for your help !

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.