| 02-14-2006, 05:35 PM | #1 |
I got problems with your InvX: -When i make 4 equipments slot on a unit it makes an Check next equipment slot when there is room for all four in one page, aye i can figure it out because you need an additional Unequip item but is there a way to bypass this i really want 4 equipment slots -Is there a way to hide an item when it is equiped (saw it in blade.dk's map but that inventory system seemed very modified) |
| 02-14-2006, 05:43 PM | #2 |
blade.dk 's is not InvX , I might add an option to hide them but I actually like it this way cause they still take inventory space. But well since that's the way it works in diablo and probably other games I will add an option. Sorry but 3 equip slots per page are the maximum. If I put 4 it will look like this Code:
------ |S|>| |S|S| |S|U| ------ Seems kind of unsorted What I would really want is if blizz made inventories 3×3 instead of 2×3 but that's another story |
| 02-14-2006, 07:25 PM | #3 |
Well to bad they have given up WC3 and only working on WoW now but i ran into a new problem... -I want to make an condition to see what item i have in a certain equip slot i found the call Code:
function InvX_UnitGetEquipedItem takes unit hero, string whichSlot returns item but im new to JASS and have difficulties when im trying to making it into an if so i dont know how i should write i, i tried this once but it returned errors Code:
if InvX_UnitGetEquipedItem(udg_TempUnit,"weapon") == 'I019' then |
| 02-14-2006, 07:33 PM | #4 |
returns item not item-type id . So it would be GetItemTypeId(InvX_UnitGetEquipedItem(udg_TempUnit,"weapon")) == 'I019' |
| 02-14-2006, 07:39 PM | #5 |
Thanks that solves all my problems....for now |
| 02-14-2006, 07:42 PM | #6 |
hmn Scary |
