/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTTaskNode.h
Called when task execution is finished this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyTaskFinished must be set to true for this function to be called Calling INIT_TASK_NODE_NOTIFY_FLAGS in the constructor of the task will set this flag automatically
virtual void OnTaskFinished ( [UBehaviorTreeComponent](API\Runtime\AIModule\BehaviorTree\UBehaviorTreeComponent) & OwnerComp, uint8 * NodeMemory, [EBTNodeResult::Type](API\Runtime\AIModule\BehaviorTree\EBTNodeResult__Type) TaskResult )