i think he got result already, but for people who may find this, solution is really simple:
- make 1 structure blueprint and add into it only 1 variable array of base type you need (integers for example)
- make 2 array variables, first should have type of you sturuct, second same like in your structure
- don’t use “set array item”, because somehow it makes your arrays “read only”, so to fill your 2d array with values you must use “add” for arrays
here’s screenshots:
filling such 2D array
get 2D array elements like [index1][index2] and printing values
see how printing look in game
what i didn’t try:
set value in 2d array at already exist index (actually we didn’t need it for our purpose, because generation of heigh map doesn’t require changing after first fill), but i will try use “set array item” to see is i can set value of already exist 2d array element like [row1][column2]