Create Clear Focus Task

This commit is contained in:
baz 2024-02-08 18:30:39 +00:00
parent 03d5b80a0b
commit 4d214f9883
1 changed files with 0 additions and 1 deletions

View File

@ -9,6 +9,5 @@ EBTNodeResult::Type UBTTClearFocus::ExecuteTask(UBehaviorTreeComponent& owner, u
{
auto enemyController = Cast<AEnemyAIController>(owner.GetAIOwner());
enemyController->ClearFocus(EAIFocusPriority::Default);
enemyController->SetFocus();
return EBTNodeResult::Succeeded;
}