xxxxxxxxxx
/* Unreal Engine (C++) To print a string message on screen...*/
//Don't forget to include the library
#include "Kismet/KismetSystemLibrary.h"
// Paste that code inside the function
UKismetSystemLibrary::PrintString(this, FString::Printf(TEXT("Test")));
// If you need to show values...
int myVariable = 5;
UKismetSystemLibrary::PrintString(this, FString::Printf(TEXT("Value: %d"),myVariable));