The storage UI is a grid of buttons, each contains upto one item. One can scroll up and down by rolling the mouse wheel while the mouse points at the TasItemBag UI. The storage is only shown after you clicked the showbutton (default next to the inventory) and it can be closed/hidden again.
Any unit has it's own bag which can contain x amount of items (x can be choosen, but is a global rule).
TasItemBag works with default Warcraft 3 Items, only the items in the Warcraft 3 inventory count as equiped.
Equiping an Item can have requirements. Builtin requirements:
- Item Level <= Hero Level
- Unit has Ability x
- Only x of each ItemClass at once
All can be turned off in the system settings
Units with "can not use items" inventory skills, allways pass requirements to equip (can be disabled and only works if you told TasItemBag of all used InventorySkills)
Item Level and needs Ability x can be displayed additional to the item's tooltip inside the bag.
TasItemBag sends items taken, into the bag. Dummy Units (Skill 'Aloc') are excluded. You can prevent this by setting a flag (udg_TasItemBagEquipNow) which you have to reset, when you are done. The systems uses the pick up event and delays the transfer using a 0s timer hence using the create item for hero api might not put the item into the bag.
GroupSelection is not supported, means it is "random" which unit's storage is displayed in group selection.
Non-Heroes drop all their storage on death.
Items in the storage will follow the unit's inventory drop on death flag (When you told TasItemBag about the used inventory-Skills, all default Inventory skills are covered Hero, 4xUnit + mule) and the item's value for that.
TasItemBag moves used items into the item storage (can be disabled).