UTestBTTask_BTStopAction

Unreal Engine C++ API Reference > Developer > AITestSuite > BehaviorTree

Inheritance Hierarchy

References

   
Module AITestSuite
Header /Engine/Source/Developer/AITestSuite/Classes/BehaviorTree/TestBTTask_BTStopAction.h
Include #include "BehaviorTree/TestBTTask_BTStopAction.h"

Syntax

class UTestBTTask_BTStopAction : public [UBTTaskNode](API\Runtime\AIModule\BehaviorTree\UBTTaskNode)  

Variables

Type Name Description
int32 LogIndex  
TEnumAsByte< EB... LogResult  
EBTTestStopActi... StopAction  
EBTTestTaskStop... StopTiming  

Constructors

Type Name Description
  UTestBTTask_BTStopAction ( const FObjectInitializer& ObjectIn... )  

Overridden from UBTTaskNode

Type Name Description
EBTNodeResul... AbortTask ( UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory ) Aborts this task, should return Aborted or InProgress (use FinishLatentAbort() when returning InProgress) this function should be considered as const (don't modify state of object) if node is not instanced!
EBTNodeResul... 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!
void OnTaskFinished ( UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, EBTNodeResult::Type TaskResult ) 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
void TickTask ( UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds ) Ticks this task this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyTick 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library