I’m having several doubts that I can’t solve by reading the forums nor watching YT tutorials.
I’m working to learn about BP in a door that opens and closes when player is at a certain range and everything works just fine except for one thing: Trigger the BP that opens the door and closes it by getting if the player presses a certain button.
For further information, this is my current blueprint (the one that opens and closes the door):
So the objetive I’m currently struggling to get is how I get the player input for example F key to trigger it the blueprint? I was thinking about how could I turn this event graph into a function to then use it in BP_ThirdPersonCharacter by using a “Key pressed F” node that triggers the blueprint but I just don’t know how to do it and I can’t seem to understand what some people speak about it.
Thanks.