You need to tell me why its problematic to create the widget during the overlap event. I need to know why there is an issue with that.
)
Ok now THIS CODE in the screenshot above WORKS, it works like a charm, but it relies on a Arraystruct Element list for it to work. So I’m happy with that except for one thing, it cycles at random like crazy through all the elements when I walk through the trigger area. That I don’t want, I only want it to cycle just ONCE each time I walk in the trigger. THIS SET UP IS OK FOR GAMES WITH A LITTLE DIALOG IN THEM. Its sutiable for this.
BUT MY GAME has over 20,000 lines of dialog in it…
NOW the CODE in the screenshot BELOW is what I’m having trouble trying to get to work on 4.12. That’s supposed to be the code that’s needed to handle 20,000+ lines of dialog through the widget by reading in the row number of the data table file then display what it finds on the row number in the widget.
)
But there’s something in this code setup that is preventing the Arraystruct001 from reading the text in directly in from the data table. It is necessary for the game to read directly from the datatable without relying on an element list. But if that’s the only way his code will work to rely on an element array list and set the row number range, then that means the blueprints will be filled with thousands of array lists. Since my game has over 20,000 lines of dialog in it, I needed it
to read directly in from the data table instead of having to create tons of array element lists.
There’s no compile errors, no conflicts with pin numbers. Those errors are now all gone. But this code is not working at the moment through the widget as when I hook this up into my sequence node from the on overlap trigger and run it, my widget remains all black with no text showing. I don’t know what the cause of that issue is. It is
supposed to read in the data in directly from the data table, not reading the data from an element array list. I did put in 2 text elements in the array list just to see if not having an element list in the array was the problem, and found the widget still not displaying up anything. So I know its not the array list.
Its something in this code is preventing the text from displaying up in the widget and it has me real puzzled…
Since I could not resolve the problem… I need to know exactly what engine version you used for those code screenshots Everynone, I have a feeling that if you are using the latest version of the engine that not all the nodes are going to work when setting up this dialog array if my engine version is not up to date…
For all I know the array might only work if the engine version is the latest version. So I have upgraded to the latest version to see if that will make any difference.