Hello! I have been following lots of tutorials to help with my project to help me learn Unreal and I’m having a bit of an issue when trying to change a key press event to a widget button?
When following the tutorials and such, I used a keybinding for testing purposes for my pickup/ drop button however, as my project is aimed at mobile, I decided to change this to an on screen widget. I have managed to covert the rest of the buttons, however, the pick up and drop is giving me some issues since they’re in different blueprints so its not as simple as calling a custom event.
These are my dropping and picking up blueprints (one is in the character bp and one is in the pickup object bp):
Here’s my blueprints for the other button press, calling a custom event within the character bp, as well as the ‘hat button’ on press event (the character has a one slot inventory and picks up objects in his hat- that’s the reason for the strange name haha)
And this is the widget set up!
Any advice would be greatly appreciated! Thanks fo much for reading!