UBTDecorator_ConditionalLoop

Conditional loop decorator node.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

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

Include

#include "BehaviorTree/Decorators/BTDecorator_ConditionalLoop.h"

Syntax

class UBTDecorator_ConditionalLoop : public UBTDecorator_Blackboard

Remarks

Conditional loop decorator node. A decorator node that loops execution as long as condition is satisfied.

Constructors

Name Description

Public function

UBTDecorator_ConditionalLoop

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UBTDecorator_BlackboardBase

Name Description

Public function Virtual

EBlackboardN...

 

OnBlackboardKeyValueChange

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

Notify about change in blackboard keys

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

Public function Virtual

void

 

OnNodeDeactivation

(
    FBehaviorTreeSearchData& SearchDat...,
    EBTNodeResult::Type NodeResult
)

Called when underlying node has finished 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

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