Add default values to blueprint object array
I have an array variable in a blueprint widget I created and I am trying to populate the default values for it. The array is a collection 'GameLinks'. GameLink is a different blueprint widget I created.
The problem is that when I try to add a default value, the dropdown is empty.
How do I get objects in that dropdown to select from? It says I can select stuff from the content browser. How do I instantiate an object from a blueprint widget class and save it to the content browser to select from?
asked Jul 20 '16 at 08:14 PM in Blueprint Scripting
To my understanding, that is a reference GameLink array. If that is the case, then it can't be filed outside of the game and must be filled in game. You can easily do this by using "Get All Widgets of Class" and then adding all that are found into that array.
Widgets technically only exist once the game runs, so you won't find any references prior to running the game.
Follow this question
Once you sign in you will be able to subscribe for any updates here