Resetting a list attribute out of game

Macroplasm

  • Posts: 38
I accidentally filled a list game attribute too high and now it has around 750 items in it.Is there a way to reset the list without
deleting it or removing the every item on the list?

CmdrWhitey13

  • Posts: 504
You could try to save it into a map and reset it. The values will remain in the stored map.

ceosol

  • *
  • Posts: 2275
Is there a way to reset the list without deleting it or removing the every item on the list?

No, I think you have to delete or remove individual values, unfortunately. I have faced that same situation many times :)

TheIndieStation

  • *
  • Posts: 2263
Yes you can. Like Cmdr said, just use a temporary list. Then say something like repeat 20 times, add #counter from game attribute list to temp list. This will add the first 20 items to your temp list. Then clear your original list and set it to a copy of your temp list and dave the game. If you need to pick several items which are not after each other, you will need a different techniqeu.