Should Super::ExecuteTask be called?
and when every you call Super::… should we also check the ret value just in case??
EBTNodeResult::Type UChooseNextWaypoint::ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory)
{
EBTNodeResult::Type ret = Super::ExecuteTask(OwnerComp, NodeMemory);
if (ret == EBTNodeResult::Succeeded)
{
UE_LOG(LogTemp, Warning, TEXT("Hello from ExecuteTask"));
}
return ret;
}