- Joined
- Aug 26, 2013
- Messages
- 9
- Reaction score
- 0
- First Language
- Flemish
- Primarily Uses
I'm trying to make a system where you donate creatures (which are actually items). You will donate all creatures you hadn't donated before.
But there are about 2,500 different ones to collect. I currently got it to work the way I want, but in a way I have to write the same bit of code 2,500 times.
So I was hoping for some better way to do this. This is what I have now:
The green part checks for the first creature (Dekkarok-
. If it's not donated yet and you have it in your inventory, it will be donated.
Below the green part it checks for the next creature/item, (Dekkarok-G). This would go on 2,500 times.
So I'm looking for a way to do this with a loop or something similar, where it will automatically go to the next item and next control switch (which tells if the particular item is donated or not) every time.
I'm pretty new at this, so I'm sorry if the solution is something really simple.
Thanks!
But there are about 2,500 different ones to collect. I currently got it to work the way I want, but in a way I have to write the same bit of code 2,500 times.
So I was hoping for some better way to do this. This is what I have now:
The green part checks for the first creature (Dekkarok-
Below the green part it checks for the next creature/item, (Dekkarok-G). This would go on 2,500 times.
So I'm looking for a way to do this with a loop or something similar, where it will automatically go to the next item and next control switch (which tells if the particular item is donated or not) every time.
I'm pretty new at this, so I'm sorry if the solution is something really simple.
Thanks!

