Hello. I creating dynamic audio player using Blueprint. Need help in final part of this task. So far I created following:
1. List of buttons whit checkboxes (I have 2 widgets one for the scrollbox and second for child buttons with checkboxes.
2. I created logic for checking buttons and saving states in an separate Boolean Array.
3. Created logic for loading button checkboxes state.
4. I created 2 new widget templates for displaying checked user result. New logic to store selected data in separate array and displaying results. All data stored in new array under it previous id using set array elem.
The final problem is when I load new array of data it also load empty id from this array. Except of empty buttons everything working well. Even cheeked Id States on a new widget on proper position. Only problem is to find solution how handle empty buttons.

1. I think the better way is to modify foreachloopwhitbreak and create logic to construct only selected checkboxes.
2. Maybe it passable to get unchecked state of checkboxes from Boolean array and deleted unnecessary child buttons.
What will be the better approach in my case. Perhaps someone worked on the similar task and have a solution. Thanks!!!
1. List of buttons whit checkboxes (I have 2 widgets one for the scrollbox and second for child buttons with checkboxes.
2. I created logic for checking buttons and saving states in an separate Boolean Array.
3. Created logic for loading button checkboxes state.
4. I created 2 new widget templates for displaying checked user result. New logic to store selected data in separate array and displaying results. All data stored in new array under it previous id using set array elem.
The final problem is when I load new array of data it also load empty id from this array. Except of empty buttons everything working well. Even cheeked Id States on a new widget on proper position. Only problem is to find solution how handle empty buttons.
1. I think the better way is to modify foreachloopwhitbreak and create logic to construct only selected checkboxes.
2. Maybe it passable to get unchecked state of checkboxes from Boolean array and deleted unnecessary child buttons.
What will be the better approach in my case. Perhaps someone worked on the similar task and have a solution. Thanks!!!
Comment