Getting a HiddenWord textfile created automaticly from header file


A small snipet how to get the HiddenWordList.txt within Unreal created.

Put the following includes in BullVowCartride.cpp
#include “Misc/Paths.h”
#include “Misc/FileHelper.h”

I use a lambda as a predicate to remove all the unwanted words.
To use IsIsogram member function in this lambda it must be preceded by the static keyword in the header file and no longer be a const function.

Don’t forget to delete the const keyword in the defenition of IsIsogram.

mss10001

1 Like

I’m learning lambdas and I love that you incorporated it in Bull Cow Game!

Privacy & Terms