I am working on a shoot-out game. I have six different regions on goal post and corresponding keys (top-left, top-centre, top-right, bottom-left, botton centre, bottom-right/ respectively q, w, e, a, s, d). Instead of what I did (picture attached), there must be a proper/clean way of doing things. Since I have very few information about UE and blueprint, I couldn’t be able to make a resourceful search. I would like to achieve a structure that listens to the key press and act accordingly. Thanks in advance.
1 Like
You could try a map:
Also, are you sure you want to handle keypresses in the Level Blueprint? What if we load level 2? Ignore it if there’s no level 2.
I agree that multiple levels cause problem. Since it is a learning project, I try to go with one at a time approach. When I clear these problems, I will go to the next one. Thanks for the reply.
1 Like
I suggest you to look at default input system. It’s much cleaner way to bind input rather hardcode keys in BP.
1 Like
Once you’re ready, do look into Game Mode, Player Controller and Pawns. These blueprints form a framework that binds a project together. The 2 last BPs are great places to handle player input.
1 Like