I’m sorry I couldn’t figure quite how to phrase this in the question but I thinks this explanation should be sufficient.
I would like to create a array of arrays containing int points so that I can create and select different rings on a grid starting from the center.
I have managed to get this working by creating a structure of int point arrays. For example:
Ring 1
(-1, -1), (-1, 0), (-1, 1), (0, 1) ,(1, 1), (1, 0), (1, -1) ,(0, -1)
Ring 2
(-2, -2), (-2, -1), (-2, 0), (-2, 1), (-2, 2), (-1, 2), (0, 2), (1, 2), (2, 2), (2, 1), (2, 0), (2, -1), (2, -2), (1, -2), (0, -2), (-1, -2)
Ring 3
(-3, -3), (-3, -2), (-3, -1), (-3, 0), (-3, 1), (-3, 2), (-3, 3), (-2, 3), (-1, 3), (0, 3), (1, 3), (2, 3) (3, 3), (3, 2), (3, 1), (3, 0), (3, -1), (3, -2), (3, -3), (2, -3), (1, -3), (0, -3), (-1, -3), (-2, -3)
Etc
I then can assign different values to these cells on in my grid.
My question:
How can I add arrays to this structure using blueprints. For example if I have a 10 x 10 grid I will need the co ordinates as above for 10 different rings which would take a long time to enter as a structure and I would potentially need much larger grids.
I would like to be able to create this using math (which im bad at)
I hope this makes sense and thanks in advance!