Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/BehaviorTree > API/Runtime/AIModule/BehaviorTree/UBTCompositeNode > API/Runtime/AIModule/BehaviorTree/UBTCompositeNode/OnChildDeactivation
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/BTCompositeNode.h |
| Include | #include "BehaviorTree/BTCompositeNode.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/BTCompositeNode.cpp |
void OnChildDeactivation
&40;
FBehaviorTreeSearchData & SearchData,
const UBTNode & ChildNode,
EBTNodeResult::Type & NodeResult,
const bool bRequestedFromValidInstance
&41; const
Remarks
Notification called after child has finished search
Parameters
| Name | Description |
|---|---|
| SearchData | for any new addition or removal of extra aux nodes/ descriptor |
| ChildNode | is the children being deactivated |
| NodeResult | the raison of the deactivation |
| bRequestedFromValidInstance | the new requested search start is within the current active instances |