Hi all,
Problem:
I have a 'chest' object with the following code in the create event:
I would have thought that upon instantiation the logic would be:
chest_1.<Its own grid>
chest_2.<Its own grid>
However what is happening is chest_1 & 2 are sharing the "_chest_main_inventory" grid. ie, if I put an object in chest 1 and walk over to chest 2, its teleported.
Question:
How do I create unique grids per chest object?
Problem:
I have a 'chest' object with the following code in the create event:
GML:
_chest_main_inventory = ds_grid_create(inv_slots, 2);
chest_1.<Its own grid>
chest_2.<Its own grid>
However what is happening is chest_1 & 2 are sharing the "_chest_main_inventory" grid. ie, if I put an object in chest 1 and walk over to chest 2, its teleported.
Question:
How do I create unique grids per chest object?