For a long time I have been trying to solve a severe problem, without success. Every ds_list_find_index() returns -1 for instances created using this method:
room_pack_store_instances(ds_Chunk_Objects[CX, CY] /*List supposed to hold IDs for Chunk CX,CY*/ ); room_pack_include_layer(CL_Layer[CL_LoadStage[n]] /*Load a specified layer*/ ); room_pack_load_map(World[?name],X,Y);
After a while, I tried drawing all the content of the list ds_Chunk_Objects[CX, CY], and it does not seem to store the instance IDs. Instead, it stores every single variable and value of the instance. Each new line is the next index in the data structure.
Is this normal behavior? I suspect that it is not, since room_pack_store_tilemaps() appears to work fine.