I am having some trouble with blueprints at the moment. I have been trying to create an object that will follow the player around and when a button/key is pressed, let’s say f, it will attack another object and destroy it. At the moment I am not too concerned about the object following the player or attacking another object, it is actually trying to get it to respond when I press f that is the problem.
I created a new project using the third person template and then created a class blueprint for the object because it will eventually have it’s own animations and sounds. After a lot of experimenting with trying to get a message onto the screen by pressing f, I found that I cannot press f and put a message on screen within the object class but I can within the character class.
Is there a way that I can get the player to press f and it takes the information from the object class, rather than having to set it up in the character class?
Any help would be greatly appreciated and I hope that I have explained my problem well enough.