Creaste Objective Box WB
Create a new BP structure, called S_QuestObjective
Add follow variables
Add variable S Quest Objective array in S Quest structure (made in Pt 1)
Also input following in Default Values column
Add a new widget called WB_QuestObjective
Set Image Anchor (Fill up by holding Ctrl), set tint to dark grey, alpha 0.3
Set Text Position to X, Y to 0, Fill Screen as Desired
Add Check box, adjust the anchor position XY and size XY to fit as follow:
Rename the layer (image as background, Text as Objective Text (tick variable), Checkbox as Completed CheckBox (tick variable)
Intergrate Objective WB in Quest Giver WB
Go to WB QuestGiver, add vertical box under secondary
Put it in Quest Detail Panel layer,
Rename as Objective Vertical Box, tick as variable
Go to its graph, on Select Quest node, extend
Then continue as
Go to BP QuestGiver, S Quest Details add 4 Array elements in Objective:
Change each index Objective from 1 to 4, tick Completed on first 2 index
Test in scene if all objectives are shown and if checked box have 2 ticks
Go to WB Quest Objective
Untick is Focusable in Checkbox column (so it can’t be clicked manually during gaming, only tickable by BP logic)
Go to WB Quest Giver, add Padding node
Objective WB in Quest HUD (top left column Widget)
Go to WB Quest HUD
Enlarge background and blur layers, add Vertical box name as Objective Vertical box, tick as variable
In its graph,
Add custom event Fill Objectives, add input array S Quest Objective
Copy the following nodes from WB QuestGiver, paste in WB Quest HUD
Continue the graph in HUD:
Go to BP Component Quest,
Add custom event Set Objectives and connect as below:
(drag active quest variable, and split it)
Go to WB Quest Giver,
add Set Objective node after Set Active Quest Text