Neptune Member Sep 28, 2016 #1 Hello! Im wondering if it is possible to store object IDs and Tile IDs in to DS lists? I also remember reading somewhere that using ds_list_add function will add values to the list at random locations within the list -- is this true? Any information is appreciated!
Hello! Im wondering if it is possible to store object IDs and Tile IDs in to DS lists? I also remember reading somewhere that using ds_list_add function will add values to the list at random locations within the list -- is this true? Any information is appreciated!
FrostyCat Redemption Seeker Sep 28, 2016 #2 Object IDs and tile IDs are just plain old numbers. Can you store numbers into lists? Of course you can. Also, the part about ds_list_add() inserting values at random spots is pure baloney. The Manual entry for ds_list_add() said: This function can be used to add a new value (real or string) to the list, which will be added on at the end. Click to expand...
Object IDs and tile IDs are just plain old numbers. Can you store numbers into lists? Of course you can. Also, the part about ds_list_add() inserting values at random spots is pure baloney. The Manual entry for ds_list_add() said: This function can be used to add a new value (real or string) to the list, which will be added on at the end. Click to expand...
Llama_Code Member Sep 28, 2016 #3 I think you are confusing it with ds_map_add, which will just simply insert the key somewhere. But a ds_list is, well, a list. And when you add new things to a list they go at the bottom.
I think you are confusing it with ds_map_add, which will just simply insert the key somewhere. But a ds_list is, well, a list. And when you add new things to a list they go at the bottom.