Download

Populating text boxes in UMG with data read from a file?

Hi. I have a umg widget that is essentially a question and answer box.
I want random questions with their associated answer options to populate that umg widget.
I was after suggestions on how to do this pls. I could write a whole lot of string variables with the required text and create an array.
I know json can be read in and was wondering if there are other options.

Thanks.

The other option is the cvs file + struct + data table combo. Same thing, though. It’s pretty efficient - any reasons why you don’t want to / cannot use it?

Never used a csv file in unreal before but just looked it up and looks like a way to go. Thanks for the tip/