Download

How to set array with an array?

I’m trying to set an array in blueprints with a different array each time a function is ran, but I guess I don’t know how to do this right, because it doesn’t seem to be working. I have an array of actors to start the function with 9 items in index, I want to clear that array and set it to a different array with a different list of actors. Any help appreciated.

Here you can see the function I am trying to perform, spawning a floor tile from a preset array of floor tiles, and then calling the ‘Get Attach Transform’ function to get a new array of floor tiles based on the floor tile that was spawned, and then setting the initial floor tile array to a new array that contains only floor tiles compatible with the previous one spawned.
d0de7fa70aee206a3d1efdedbe95586330a6ca43.png

GetTransformFunction.PNG

EDIT: After all that, I see my problem now, was passing “Actor” to “Get Attach Transform” function, when I needed to be passing “Actor Class”.