I am making a notepad widget where when the player will find a clue, inside the notepad will appear a text that can be used as a reminder for the player what they have found so far.
I have everything working accept when I close the notepad and reopen it all the text that was there is gone.
Once the player interacts with the “clue” we check if they have the “notepad” open, if they do then we call a custom event in “Notepad_BP” also we are sending the clue ID to it
You need to store the found clues somewhere else that is not UI. Then when they open the notebook, you populate it from that somewhere else. This “somewhere else” could be an invisible actor, the game instance, a subsystem, a component on the some actor. Any place who’s lifetime is not tied to the lifetime of the widget.
Alternatively the notebook UI could be around all the time and you just hide and show it, but that doesn’t work very well once you talk about actual save games (which is how Vis Agilis has interpreted this question).