Bull Cow game Accessing Player input portion

Hey guys! I am going through the course and up to this point have had no issues. I however am having an issue on this portion of the course when testing that the player input is fed back on the terminal. When I type I do not get the words I type displayed as he does in the video, instead I get the blank line. I have made the exact same changes in code that he has and still it does not loop my typed words back un UE4. Here is my code. Thanks for the help!

void UBullCowCartridge::OnInput(const FString& Input) // When the player hits enter

{

ClearScreen();

FString HiddenWord = TEXT("cake");

}

2 Likes

I figured it out… lol. I was thinking that right out the gate that it should repeat it however that is what the whole video is teaching how to set up. Thanks all! GL on your classes and future projects!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms