Navigation
API > API/Runtime > API/Runtime/AIModule
Blackboard comparison decorator node. A decorator node that bases its condition on a comparison between two Blackboard keys.
| Name | UBTDecorator_CompareBBEntries |
| Type | class |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |
| Include Path | #include "BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h" |
Syntax
UCLASS (HideCategories=(Condition), MinimalAPI)
class UBTDecorator_CompareBBEntries : public UBTDecorator
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBTNode → UBTAuxiliaryNode → UBTDecorator → UBTDecorator_CompareBBEntries
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBTDecorator_CompareBBEntries
(
const FObjectInitializer& ObjectInitializer |
BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EBlackboardNotificationResult OnBlackboardKeyValueChange
(
const UBlackboardComponent& Blackboard, |
BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |
Overridden from UBTDecorator
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CalculateRawConditionValue
(
UBehaviorTreeComponent& OwnerComp, |
Calculates raw, core value of decorator's condition. Should not include calling IsInversed | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |
Overridden from UBTAuxiliaryNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBecomeRelevant
(
UBehaviorTreeComponent& OwnerComp, |
Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced! | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h | |
virtual void OnCeaseRelevant
(
UBehaviorTreeComponent& OwnerComp, |
Called when auxiliary node becomes inactive this function should be considered as const (don't modify state of object) if node is not instanced! | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |
Overridden from UBTNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetErrorMessage() |
Validates this node and returns the resulting error message. Empty means no error. | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h | |
virtual FName GetNodeIconName() |
Get the name of the icon used to display this node in the editor | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h | |
virtual FString GetStaticDescription() |
BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h | ||
virtual void InitializeFromAsset
(
UBehaviorTree& Asset |
Initialize any asset related data | BehaviorTree/Decorators/BTDecorator_CompareBBEntries.h |