Saving content from three separate editable textboxes to a single editable textbox slot

My game provides the player with three separate editable textboxes to insert their text into, then save and load/print again in a future level. Each of these textboxes are saved to an individual slot (Slot 1, Slot 2, Slot 3).

Is it possible to load all the texts from all three slots into one single fourth editable textbox?

Hi, not sure if I get correctly what you want to achieve, but you can SetText in those Editable Text boxes, so you get text from 3 initial text boxes, append them and set to a new text box. Or if you save those text as strings, just append those string and set it in the same way.

1 Like

Hey there @Jcfalloon! Would using the Append node if you’re working with a string type and passing that value over work for your use case? Otherwise if you’re using them as a text type, you could use Format Text.

Sitiana beat me to it and I didn’t realize!

1 Like

Hi,

Thanks for the quick response.

Which widget event graph should I implement the blueprints you have provided - I’m assuming inside the widget for the Textbox 4?

Also, how do I summon and include the other three widget references within the same graph?

Hello, sorry I wasn’t checking forum for a few days. Yes this would be in the TextBox4. But how do you include previous ones… it depends how you save them and also depends on the situation.
Please read something about communication between Blueprints, for example maybe this course: Blueprint Communication | Course
(But there is a lot about this topic on Youtube). As there are so many ways. You could use for example GameMode class for that.