How can I override a method from a base class (in c++) that is declared as a BlueprintNativeEvent?
I tired to add “_Implementation” to the end of the name of my new method override with no success, (exactly the same signature as the base class except the class it belongs to of course).
I guess I’m just using it wrong but couldn’t find any further information about this issue. So how can you create an override for a base class method defined with BlueprintNativeEvent?
I’m trying to override FindPlayerStart from the AGameMode.
I get the following error message:
“error C3668: ‘AMyGameMode::FindPlayerStart_Implemention’ : method with override specifier ‘override’ did not override any base class methods”
Please note that you should name your method FindPlayerStart_Implementation instead of FindPlayerStart_Implementation.
It is most likely that the error occurs because methods’ names don’t match in base and derived classes.
Changing _Implemntion to _Implementation should fix the problem.
Is this still usable in 4.13? I try and I get the following:
3>C:\_insomnia\Source\Insomnia_v2\Common/Thing/Time/ThingTime.h(47): error C2535: 'void UThingTime::Foo_Implementation(float)': member function already defined or declared
3> C:\_insomnia\Source\Insomnia_v2\Common/Thing/Time/ThingTime.h(24): note: see declaration of 'UThingTime::Foo_Implementation'