// Copyright Zelle Games #pragma once #include "CoreMinimal.h" #include "BehaviorTree/BTTaskNode.h" #include "MoveToRandomSpot.generated.h" /** * */ UCLASS() class STREETPUNKZ_API UMoveToRandomSpot : public UBTTaskNode { GENERATED_BODY() virtual EBTNodeResult::Type ExecuteTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory) override; virtual void TickTask(UBehaviorTreeComponent& OwnerComp, uint8* NodeMemory, float DeltaSeconds) override; float TimeSinceExecute; };