Open QuestGiver BP
Add variable called Quests, choose as S_Quest (created previously), array, and make visible
Input and add Quest:
Add Widget in a loop to the QuestGiver BP at the end of previous BP:
Go to WB QuestGiver, add the following graph and create a variable input on custom event
Back to Designer page, change the vertical box name to Quests list, make as varianble
Now the Quest list in graph can be drag in graph, continue as follow:
Go to Widget Quest Slot, rename the text as Quest Name Text, make as variable
Back to WB Quest Giver, add the follow:
Go to BP Quest Giver, add follow after For each loop
Go to WB Quest Slot, add 2 variables: Desciption and Secondary
Go to WB QuestGiver, add follow:
Delete those Quest slots layers highlighed below:
Create reference in Qustslot to send to WB QuestGiver:
Open WB Questslot, add follow variable:
Go to WB Quest Giver Graph:
Add Set Quest Giver Widget just created”
Still in the graph, create custom event, variables inputs:
To Quest Slot again,
Select button variable, add On Clicked event
Then make follow graph:
Go to WB Quest Giver Design page, rename the follow 2 layers as Selected Quest Text, and Selected Quest Description. Tick both as variable
To connect the Quest Text and Description together so that description will be showed once pressing any quest available button in the widget:
Go to its graph, extend the custom event with: