UTestBTDecorator_Blueprint::OnBecomeRelevant

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

Unreal Engine C++ API Reference > Developer > AITestSuite > BehaviorTree > UTestBTDecorator_Blueprint

References

   
Module AITestSuite
Header /Engine/Source/Developer/AITestSuite/Classes/BehaviorTree/TestBTDecorator_Blueprint.h
Include #include "BehaviorTree/TestBTDecorator_Blueprint.h"
Source /Engine/Source/Developer/AITestSuite/Private/BehaviorTree/TestBTDecorator_Blueprint.cpp
virtual void OnBecomeRelevant
(
    [UBehaviorTreeComponent](API\Runtime\AIModule\BehaviorTree\UBehaviorTreeComponent) & OwnerComp,
    uint8 * NodeMemory
)

Remarks

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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library