Why is my BlueprintNativeEvent not firing Event in blueprint
IDE: Xcode 9.2
I have created a BlueprintNativeEvent which is being called correctly in the C++ code (tested by printing to the log) but it is never firing in the BP.
I originally tried using BlueprintImplementableEvent this also never fired. I switched to NativeEvent so I could print to the log to prove that the function was being called.
Any insight into this would be great.
asked Feb 02 '18 at 01:11 AM in C++ Programming
I found the answer after reading up more on how the engine worked. I had been making an assumption that a Blueprint created from a custom class was "of that class" rather than a child inheriting from it.
This meant that in my C++ where I had specified
My eventual solution was to specify the Blueprint Class was to be used as the HUDClass in my ASWGameMode.cpp
I did this using the following code:
Thanks for all the help. Everyone's input contributed to my eventual solution.
answered Feb 08 '18 at 12:14 PM
Remember if you have called the function on a blueprint to call the parent function, otherwise it won't call the C++ Implementation!
answered Feb 04 '18 at 11:47 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here