UTestBTTask_LatentWithFlags

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

Inheritance Hierarchy

References

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

Syntax

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

Variables

Type Name Description
int32 AbortHalfTicks Num of ticks before 'abort start' and set abort flag_ and then the same num of ticks before abort finish_
EBTTestChangeFl... ChangeFlagBehavior  
int32 ExecuteHalfTicks Num of ticks before 'execute start' and set execute flag_ and then the same num of ticks before execute finish_
FName KeyNameAbort  
FName KeyNameExecute  
int32 LogIndexAbortFinish  
int32 LogIndexAborting  
int32 LogIndexAbortStart  
int32 LogIndexExecuteFinish  
int32 LogIndexExecuteStart  
int32 LogIndexExecuting  
TEnumAsByte< EB... LogResult  

Constructors

Type Name Description
  UTestBTTask_LatentWithFlags ()  

Functions

Type Name Description
void ChangeFlag ( UBehaviorTreeComponent& OwnerComp, FName FlagToChange )  
void LogExecution ( UBehaviorTreeComponent& OwnerComp, int32 LogNumber )  

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 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

Overridden from UBTNode

Type Name Description
uint16 GetInstanceMemorySize () Size of instance memory

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library