void UPositionReporter::BeginPlay()
{
// First call super class overiden fuction
Super::BeginPlay();
// get the info from the class
FString ActorName = GetOwner()->GetName();
// Position is a vector, but there are other methods to achieve the same ends
FVector ActorLocation = GetOwner()->GetActorLocation();
// ToString converts to " X=x-coordinate Y=y-coordinate"
FString LocationStr = ActorLocation.ToString();
// Output the console message
UE_LOG(LogTemp, Warning, TEXT("This is char %s, at %s"), *ActorName, *LocationStr);
}