using the code:
FString ObjectPosition = GetOwner()->GetActorLocation().ToString();
UE_LOG(LogTemp, Warning, TEXT("The Object %s, is at position: %s,"), *ObjectName, *ObjectPosition);
I don’t fully understand why this isn’t an int32 instead?
Is FString used for integers too?
Also, not sure what:
GetActorLocation().ToString();
This: .ToString();
I have no idea what I’m doing with adding this and therefor couldn’t do the tast. Did we learn this already? How does it work? Thanks!