Removing/Adding to List -
05-31-2012, 09:42 AM
I have been working on something very simple but have kept getting the same error over and over again, and have finally realized where my error is, however, I do not know how to fix it.
If I have a game where there are three items to be selected and once one of the items is selected it is removed from a list (specifically remove item from position of list) how do I get around the problem that all the other items are moved up in the list and will then also be removed? For example, if I remove item 1, then item 2 becomes item 1, which then gets removed, and then item 3 becomes item 2, then item 1, and then gets removed. So instead of just removing one item from the list, it ends up removing all items from the list.
|