Blueprint isn't called from C++ method
My problem is I want to recive a key input in C++ and notify via event the blueprint about it. for that I read so far, BlueprintimplementableEvent is the way to go. I implemented it and it even shows up in the Blueprint I want to recive the event in:
This is the way I declare the methods in my Class refference:
And this is where I call them in my c++ code:
I even debugged it, and
Also the Blueprint breakpoints doesn't get hit when debugging the blueprint. What may be the cause for this behaving?
Adding screenshot that I hope provides all information about MyPawn's object "test"'s implementation and inheritance hierachy.
Ok, what I figured out so far (thanks to @Ruba1987) I had an object of MyPawn, not of test itself in the level. Now I removed the MyPawn object and placed a test isntance. NOW the the MenuKeyHit() event doesn't notice the keyinput event anymore. But it feels like going in the right correction. any further idea?
Follow this question
Once you sign in you will be able to subscribe for any updates here