Filling an image in widget from a combo box selection (dropdown) via Data Table
Hello!
i was trying to fill a faction image for the player’s selection in the game lobby.
So, starting the game, players choose a faction.
I have a data table of possible factions.
Sadly, this command to update the image brush either makes the image in the widget invisible,
or if i have no data table entry, its a white box.
I have some examples to show you:
picture 1 shows the lobby widget with the image.
picture 2 shows the code in the event graph “on initialize” of the widget.
The green part, it seems did not work, or the reference from the Data Table was not understood proper.
picture 3 and 4 show the general structure of my data table:
it links to a material instance via object reference.
i would be very happy if you could point me towards my mistake.
thank you very much!