Blueprint - And?
Is there a blueprint that covers and? I'm trying two write a blueprint, and only want something to happen if two things are true. Using a branch with two items connecting to it's exec doesn't work, so I'm lost here.
I want something to happen when the actor overlaps with the trigger volume AND E is pressed (to use). How do I make this happen? I don't see anything for "and" in blueprints.
This current idea I have seems to function as an or, not an and. If overlap or e is pressed, it's true. Not if overlap and e is pressed.
For this specific example of using AND I would suggest storing the overlapping state in a bool as a separate chain of events. Then when the key is pressed you check if this bool is true or not.
answered Mar 30 '14 at 12:38 AM
Try using a Gate for this (Flow Control>Gate). Send your input event into the Enter input. Send the trigger volume BeginOverlap into Open and an EndOverlap into close. Then the gate will only be open when you're inside the volume.
answered Mar 30 '14 at 12:45 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here