Widget change on run-time

So the setting is the following: This is a narrative detectivesque game.

There are documents out there, in the world. And what I wanted is the following: Tha if you press left mouse click, the document dissappears and is stored.

Where is it stored? In an inventory. But I do not want a real inventory system, I just want for the object to set a variable true, in a way that I can use a widget to show an image of the document in a specific UI location and always there, no matter if it was picked up last or first.

No more than 20 documents. All would fit in the screen simultaneously, each in their inventory widget position.

And then, when you had the document and were able to click on it, that a menu popped up letting you see it bigger with the text besides it. Images attached below should clarify what I mean. In the proposal example, you’ve only collected 1 item, which is the first one that is why it shows in the first slot.

I am not an expert in Blueprint stuff but I think that if someone redirects me to the correct documentation I will be able to handle it myself.


I’m sorry to tell you, but that IS an inventory system. Your main port of call is the save game ( because using that, you can preserve data between game runs ):

It doesn’t matter if you want to save 1 bool or intricate copies of pages of text, you need the save game.

In your save game, you only need an array of bools, though.