I’m assuming I’m not giving my Words variable the FString properly.
Can anyone help me figure it out !?
I’ve created a File named HiddenWordList.h with the Isograms I want in the game. This file is under the Source directory (like the cartridge files).
I cannot compile my code after adding this line:
HiddenWord = Words[FMath::RandRange(0, Words.Num()-1)];
//Last line on the second image
which should return a random Isogram from my list.
I show below the error log and snippets of my code (since I’ve done things slightly different from the lessons)
Crash LOGS:
BullCowCartridge.cpp code:
BullCowCartridge.h
HiddenWordList.h