UBTDecorator_BlueprintBase::OnNodeActivation

Called when underlying node is activated this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyActivation must be set to true for this function to be called Calling INIT_DECORATOR_NODE_NOTIFY_FLAGS in the constructor of the decorator will set this flag automatically

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UBTDecorator::OnNodeActivation()

UBTDecorator_BlueprintBase::OnNodeActivation()

References

Module

AIModule

Header

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

Include

#include "BehaviorTree/Decorators/BTDecorator_BlueprintBase.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_BlueprintBase.cpp

Syntax

virtual void OnNodeActivation
(
    FBehaviorTreeSearchData & SearchData
)

Remarks

Called when underlying node is activated this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyActivation must be set to true for this function to be called Calling INIT_DECORATOR_NODE_NOTIFY_FLAGS in the constructor of the decorator will set this flag automatically