Choose your operating system:
Windows
macOS
Linux
| UBTTaskNode::OnTaskFinished()
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/BehaviorTree/Tasks/BTTask_BlueprintBase.h |
Include |
#include "BehaviorTree/Tasks/BTTask_BlueprintBase.h" |
Source |
/Engine/Source/Runtime/AIModule/Private/BehaviorTree/Tasks/BTTask_BlueprintBase.cpp |
virtual void OnTaskFinished
(
UBehaviorTreeComponent & OwnerComp,
uint8 * NodeMemory,
EBTNodeResult::Type TaskResult
)
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