L
Luc Vergnes
Guest
I'am struggeling with a problem involving arrays. My inventory system uses an array to store all the information about the items in the inventory. I know now that I should have used a ds_list, but it is to late now, because I have written my whole game code around the array. But now I want to put a value from the array al the way to the end (this already works) and then delete it from the array.
I have tried multiple things like:
But nothing works...
Maybe you can help me out with this one. I usually don't post these kind of questions, I just do a quick internet seach or try some things out, but I can't find another thread or forum with a good solution that works for me and doesn't use ds_list.
Thanks in advance!
I have tried multiple things like:
Code:
array[20] = 0
array[20] = undefined
array[20] = noone
Maybe you can help me out with this one. I usually don't post these kind of questions, I just do a quick internet seach or try some things out, but I can't find another thread or forum with a good solution that works for me and doesn't use ds_list.
Thanks in advance!