UBTDecorator_CompareBBEntries

Blackboard comparison decorator node.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h

Include

#include "BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h"

Syntax

class UBTDecorator_CompareBBEntries : public UBTDecorator

Remarks

Blackboard comparison decorator node. A decorator node that bases its condition on a comparison between two Blackboard keys.

Variables

Name Description

Protected variable

FBlackboardKeyS...

 

BlackboardKeyA

Blackboard key selector

Protected variable

FBlackboardKeyS...

 

BlackboardKeyB

Blackboard key selector

Protected variable

TEnumAsByte< EB...

 

Operator

Operation type

Constructors

Name Description

Public function

UBTDecorator_CompareBBEntries

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual

EBlackboardN...

 

OnBlackboardKeyValueChange

(
    const UBlackboardComponent& Blackb...,
    FBlackboard::FKey ChangedKeyID
)

Overridden from UBTDecorator

Name Description

Public function Virtual Const

bool

 

CalculateRawConditionValue

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Calculates raw, core value of decorator's condition. Should not include calling IsInversed

Overridden from UBTAuxiliaryNode

Name Description

Public function Virtual

void

 

OnBecomeRelevant

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyBecomeRelevant must be set to true for this function to be called Calling INIT_AUXILIARY_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically

Public function Virtual

void

 

OnCeaseRelevant

(
    UBehaviorTreeComponent& OwnerComp,
    uint8* NodeMemory
)

Called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyCeaseRelevant must be set to true for this function to be called Calling INIT_AUXILIARY_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically

Overridden from UBTNode

Name Description

Public function Virtual Const

FName

 

GetNodeIconName()

Get the name of the icon used to display this node in the editor

Public function Virtual Const

FString

 

GetStaticDescription()

Public function Virtual

void

 

InitializeFromAsset

(
    UBehaviorTree& Asset
)

Initialize any asset related data