How can I call a BlueprintImplementableEvent in C++?
So I've made custom events like this:
UFUNCTION(BlueprintImplementableEvent) void ExecuteAbility(ACharacter* C);
I can see this event in Blueprint just fine. I call it from another C++ class, inside of a function like this:
Everything compiles fine, but in Blueprint the event never gets called.
Am I doing it wrong? I've looked for answers but in everything I find people seem to be able to just call them and they work.
Something to Try
Try writing a wrapper like this
and call this wrapper from your character class
Let us know if that changes anything
If it does NOT changing anything then that is actually good news and the problem is a simpler issue
if it DOES work, then Epic needs to look at this
Something Else To Try
Try removing the ACharacter* parameter and just pass nothing or an integer to see if that changes behavior
Follow this question
Once you sign in you will be able to subscribe for any updates here