Blueprint uses parent function instead of child function


I have a function called “Switch to Random Travel” in the AIC_NPC_Base. The AIC_Guard_NPC is a child of AIC_NPC_Base. In the child I have overriden the function. Yet when I try to call that function from a casted AIC_Guard_NPC it still calls the parent function rather than the child overriden version.

How can I change it and get the child function?

Remove Parent node. This is what call the parent version of the function.

Apologies, I probably explained poorly. It is on purpose that the parent’s version is called within the child version. The parent initialize a bunch of variable and I only need to modify the behavior tree afterward. So I call it on purpose within the child’s function.


The issue is that inside my task it only calls the parent’s version and not the child. The parent should be called by the child so that the child can also modify the behavior tree afterward. But because it immediatly calls the parent, the child doesn’t get to modify the values.