Load and Print Text inside an Editable Textbox

Hi,

I have set up a save and load system for text that is entered by players in-game. The saved text currently loads and prints in print string format (notification in top left corner). However, I would like to redirect the loading of this text to appear inside the editable textbox of a widget I have created. The player would then be able to continue writing and editing this same text inside this textbox going forwards. How can I program this to work in Blueptints?

Technically, it’s just this:

Which part are you having issues with?


  • think about the place where you load the save game
  • think about the place where you create the widget

Where are they? Which blueprint?

Hi,

Thanks for your quick response.

I have begun putting together the nodes you have suggested. However, I have my text data saved in an array - how do I connect this to the “Set” node? Also, what event node will I have to connect this to in order for the function to work?

1 Like

Yes, the nodes need connecting to be executed. That’s up to you where to hook it up - whenever you are ready to load the data. It could be a button click, it could be a level load, it could the game start.

Regarding the string array, it’s many strings and the text box can only show one at a time, you may need to Get the desired one by index from the array.

Note that multiple strings can be appended together (to form a sentence, for example), if necessary.

I’ve managed to get this to work for my circumstance. Thank you for the advice!