UTestBTTask_LatentWithFlags

Windows
MacOS
Linux

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

Variables

Name Description

Public variable

int32

 

AbortHalfTicks

Num of ticks before 'abort start' and set abort flag_ and then the same num of ticks before abort finish_

Public variable

int32

 

ExecuteHalfTicks

Num of ticks before 'execute start' and set execute flag_ and then the same num of ticks before execute finish_

Public variable

FName

 

KeyNameAbort

Public variable

FName

 

KeyNameExecute

Public variable

int32

 

LogIndexAbortFinish

Public variable

int32

 

LogIndexAborting

Public variable

int32

 

LogIndexAbortStart

Public variable

int32

 

LogIndexExecuteFinish

Public variable

int32

 

LogIndexExecuteStart

Public variable

int32

 

LogIndexExecuting

Public variable

TEnumAsByte< EB...

 

LogResult

Constructors

Functions

Name Description

Protected function

void

 

LogExecution

(
    UBehaviorTreeComponent& OwnerComp,
    int32 LogNumber
)

Overridden from UBTTaskNode

Name Description

Protected function Virtual

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!

Protected function Virtual

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!

Protected function Virtual

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

Name Description

Protected function Virtual Const

uint16

 

GetInstanceMemorySize()

Size of instance memory