D
Dan B
Guest
I'm confused as per how to access something like this. When I debug this:
In the 'catagory_grid' variable* within the obj_inv, it equals:
catagory_grid[0] = 0
catagory_grid[1] = 1
catagory_grid[2] = 2
~etc
So my question is, where did the 5 grids go?
Assuming that this method does not work fundamentally; is there a better way I can dynamically add ds_grids as more 'Categories' are added to my software? I was hoping to be able to nest my grids within this array, but it only seems to record nominal/meaningless number, rather than the grid I expected...
Thanks~
Code:
// Create
for (var i = 0; i < 5; ++i) {
catagory_grid[i] = ds_grid_create(10,10)
}
catagory_grid[0] = 0
catagory_grid[1] = 1
catagory_grid[2] = 2
~etc
So my question is, where did the 5 grids go?
Assuming that this method does not work fundamentally; is there a better way I can dynamically add ds_grids as more 'Categories' are added to my software? I was hoping to be able to nest my grids within this array, but it only seems to record nominal/meaningless number, rather than the grid I expected...
Thanks~