Navigation API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/Tasks Inheritance Hierarchy UObject IGameplayTaskOwnerInterface UBTNode UBTTaskNode UBTTask_FinishWithResult References Module AIModule Header /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Tasks/BTTask_FinishWithResult.h Include #include "BehaviorTree/Tasks/BTTask_FinishWithResult.h" Syntax UCLASS (MinimalAPI) class UBTTask_FinishWithResult : public UBTTaskNode Copy full snippetUCLASS (MinimalAPI) class UBTTask_FinishWithResult : public UBTTaskNode Remarks Instantly finishes with given result Variables Type Name Description FValueOrBBKey_Enum Result Constructors Type Name Description UBTTask_FinishWithResult ( const FObjectInitializer& ObjectInitializer ) Overridden from UBTTaskNode Type Name Description EBTNodeResult::Type ExecuteTask ( UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory ) Starts this task, should return Succeeded, Failed or InProgress (use FinishLatentTask() when returning InProgress) this function should be considered as const (don't modify state of object) if node is not instanced! Overridden from UBTNode Type Name Description FString GetStaticDescription ()