I apologize in advance for the complexity of this question’s wording. Please bear with me.
So I’m attempting to setup a 2D int array using objects like so:
I have a variable called “array” that is an array of Blueprint objects called “Array_C”. Inside Array_C there is an int array called “arr”. This creates a hacked 2D array.
Now this is all fine and dandy, but when I go to initialize the array of Array_Cs, I don’t know how to create instances of the object in the blueprint editor.
I resize the upper “array” variable to the size I want and then proceed to iterate through the lower “arr” variables inside the objects to resize them, but then I found out that the resized “array” variable was empty.
##So here’s the question:
How can I create an instance of “Array_C” in a blueprint to set the elements of “array” after resizing it (using Set Array Elem)?