UBTDecorator_TimeLimit::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_TimeLimit::OnNodeActivation()

References

Module

AIModule

Header

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

Include

#include "BehaviorTree/Decorators/BTDecorator_TimeLimit.h"

Source

/Engine/Source/Runtime/AIModule/Private/BehaviorTree/Decorators/BTDecorator_TimeLimit.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