- Joined
- Oct 11, 2012
- Messages
- 711
Hey guys. How to make an "item group", which is similar to unit group? Because I want to create an item pool and makes the enemies to randomly drop items from that item group after being killed.
Now I am using an array to store all the items, but the problem with this method is that I cannot remove the item from the item array when I need to.
Any idea, guys? Thanks a lot.
Edit: I would like to make the item unique, thats why I want to remove the item from the item array
Now I am using an array to store all the items, but the problem with this method is that I cannot remove the item from the item array when I need to.
Any idea, guys? Thanks a lot.
Edit: I would like to make the item unique, thats why I want to remove the item from the item array