How to override C++ function in Blueprint?
There is some function, which I gonna to override in Blueprint
This function will be called by CallFunctionByNameWithArguments method and using BlueprintNativeEvent is improperly.
If I try to define ServerMsg function in blueprint, I got the message:
How to override this function? Help me please :)
asked Aug 02 '15 at 04:45 PM in C++ Programming
You can declare UFUNCTION() functions as virtual. However you can not override them inside blueprints. Only inside other C++ classes. You probably already seen that you can not see the function you declared virtual, inside blueprint editors overridable functions list.
If you want to override a function inside blueprints, you will need to use BlueprintNativeEvent or BlueprintImplementableEvent as UFUNCTION() specifiers.
I'm afraid that you can't declare UFUNCTIONs as virtual. At least that's what I can tell by experience.
answered Aug 02 '15 at 05:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here