Widget Construction not working properly

Hello,

im quite frustrated as I cannot find the issue:
Im working on an Cilivisation like game in UE4.27 and im currently on the TownWidget Prototype. What i try is: On Double Click on the town the TownWidget opens and shows all Citizens in a Tile view. Therefore I have the TownWidget (which opens fine on Double Click) which on Event Construct creates the Slot Widgets of the Citizens. The Town is handed ti the TownWidget and the CitizensArray is combined with the creation of the slots in a for loop.But the issue is non of the images loads, whereas the citizen variable - where the image comes from - is set on spawn.

Try to use OnListItemObjectSet instead of Construct inside your entry:

image

Or send a variable with OnEntryInitialized:

Also, read this thread:

My Products

1 Like