24 lines
535 B
C++
Executable File
24 lines
535 B
C++
Executable File
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
#include "BaseAIController.h"
|
|
#include "Util.h"
|
|
|
|
#define LogInfo(Msg) Util::log_info(TEXT("ABaseAIController"), Msg)
|
|
|
|
void ABaseAIController::BeginPlay()
|
|
{
|
|
Super::BeginPlay();
|
|
LogInfo("Hallo");
|
|
}
|
|
|
|
void ABaseAIController::Tick(float delta)
|
|
{
|
|
Super::Tick(delta);
|
|
if (!move_to_location)
|
|
{
|
|
FVector destination(590, -620, 53);
|
|
MoveToLocation(destination);
|
|
move_to_location = true;
|
|
}
|
|
} |