I am wondering how you would go about making a array with two indexes. I am used to using int[,] for C# but in Lua i do not know how i can accomplish this?
I am using this to store information in a [x,y] grid array were i set a value like 1 or 5. This is to store information about a 2D terrain when generating for placing objects. I do not know if that helps with the question.

1 comment
Mathematically and logically this makes seance because i do the same with my terrain generating script. Thank you for explaining how this worked.