- Joined
- Feb 28, 2013
- Messages
- 1,897
Hello guys, I just want to ask if it is possible to acquire an item (or in this case, buy a new item) with hero having occupied all the slots of inventory? I want to store the amount of charges to an integer variable, so when the hero acquire a charged item, a random item should be dropped from hero's inventory - to give space for the item acquired by the hero, store the amount of charges the item to the integer variable, remove the bought charged item from the hero's inventory, and reacquire the random item dropped. It should prevent a warning that the hero occupied all slots ("Inventory is full" warning) when buying a charged item with full inventory.
- Also what is the order string/id of hero acquiring an item?
- Also what is the order string/id of hero acquiring an item?
Last edited: