Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UBTCompositeNode
Description
Check if NotifyDecoratorsOnDeactivation is allowed, requires bUseDecoratorsDeactivationCheck flag bUseDecoratorsDeactivationCheck must be set to true for this function to be called Calling INIT_COMPOSITE_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically
Derived Overrides
| Name | CanNotifyDecoratorsOnDeactivation |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTCompositeNode.h |
| Include Path | #include "BehaviorTree/BTCompositeNode.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BTCompositeNode.cpp |
virtual bool CanNotifyDecoratorsOnDeactivation
(
FBehaviorTreeSearchData & SearchData,
int32 ChildIdx,
EBTNodeResult::Type & NodeResult
) const