UBTDecorator_CompareBBEntries

Blackboard comparison decorator node.

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!

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!

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss