UTestBTTask_BTStopAction::OnTaskFinished

Called when task execution is finished this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyTaskFinished must be set to true for this function to be called Calling INIT_TASK_NODE_NOTIFY_FLAGS in the constructor of the task will set this flag automatically

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

References

   
Module AITestSuite
Header /Engine/Source/Developer/AITestSuite/Classes/BehaviorTree/TestBTTask_BTStopAction.h
Include #include "BehaviorTree/TestBTTask_BTStopAction.h"
Source /Engine/Source/Developer/AITestSuite/Private/BehaviorTree/TestBTTask_BTStopAction.cpp
virtual void OnTaskFinished
(
    [UBehaviorTreeComponent](API\Runtime\AIModule\BehaviorTree\UBehaviorTreeComponent) & OwnerComp,
    uint8 * NodeMemory,
    [EBTNodeResult::Type](API\Runtime\AIModule\BehaviorTree\EBTNodeResult__Type) TaskResult
)

Remarks

Called when task execution is finished this function should be considered as const (don't modify state of object) if node is not instanced! bNotifyTaskFinished must be set to true for this function to be called Calling INIT_TASK_NODE_NOTIFY_FLAGS in the constructor of the task will set this flag automatically


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library