Trying to add multiple instances of the same widget with different data to a scrollbox
So as the title says I've been trying to add different versions of the same widget to a scrollbox.
I did this with creating the same widget multiple times with a loop and adding it as a child each time with different data. This works fine.
The problem: Each widget has a button, with this button I want to add the content of that specific widget to an array that is in a different blueprint, but for some reason, I can't. I add the data to the array in the widget blueprint but when I try to access the array elsewhere there is nothing in it.
I also tried it with simple variables but it seems like I can't get any data out of these widgets to other blueprints.
Any reason why this happens? And what could be the solution?
Any help would be greatly appreciated. :)
(I can provide pictures of the blueprints if needed)
asked Jul 24 '18 at 08:52 PM in Blueprint Scripting
What you describe should work fine.
Can you show how you try to access the widgets' data arrays elsewhere? Essentially the bit you expect to work.
answered Jul 24 '18 at 10:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here