Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UBTService_DefaultFocus
Description
Called when auxiliary node becomes active this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyBecomeRelevant must be set to true for this function to be called Calling INIT_AUXILIARY_NODE_NOTIFY_FLAGS in the constructor of the node will set this flag automatically
Virtual Inheritance
- UBTAuxiliaryNode::OnBecomeRelevant → UBTService_DefaultFocus::OnBecomeRelevant
| Name | OnBecomeRelevant |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Services/BTService_DefaultFocus.h |
| Include Path | #include "BehaviorTree/Services/BTService_DefaultFocus.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/BehaviorTree/Services/BTService_DefaultFocus.cpp |
virtual void OnBecomeRelevant
(
UBehaviorTreeComponent & OwnerComp,
uint8 * NodeMemory
)