Hey all!
This has probabely been answered before, but my searching probabely had all the wrong words :P Is it possible for the same inventory item to be added multiple times at different indexes?
I tried:
int i = 1;
int Place = 1;
while(i < (Game.CharacterCount)){
if(character[i].x <= RightX && character[i].x >= LeftX && character[i].y <= BottomY && character[i].y >= TopY){
player.AddInventory(iSelection, Place);
Place ++;
}
i ++;
}
But I only get one index with the iSelection item
Thanks!
(http://i.imgur.com/PXesi.png)
Merci! :D