i need to chceck, if all the inventory slots of my hero are empty.
i tried some loops with conditions like "if item carried by hero in 1 != any item" or "if item carried by hero in 1 = no unit" but nothing works...
ok. counting of items done (by using "Inventory Items Carried"). but how to check if specific slot is empty? i tried the examples i wrote earlier... but they don't work...
i think there is a problem of my understanding of the parameter of the item slot. can anyone explain me that condition (item carried by UNIT in INDEX, "Inventory Item Carried")?
i need to chceck, if all the inventory slots of my hero are empty. i tried some loops with conditions like "if item carried by hero in 1 != any item" or "if item carried by hero in 1 = no unit" but nothing works...
i have used Bifuu's hero creation tutorial, btw.
If you need to check that EVERY slot is empty, then use the Unit group "Items carried by hero", and count number of units in it.
i check every slot. i wrote "1" for example only.
ok. counting of items done (by using "Inventory Items Carried"). but how to check if specific slot is empty? i tried the examples i wrote earlier... but they don't work...
noone got any ideas?
i think there is a problem of my understanding of the parameter of the item slot. can anyone explain me that condition (item carried by UNIT in INDEX, "Inventory Item Carried")?
Index as far as I recall is only the order in which items were picked up.
First item picked up, Item 1 is Index 1, etc. Not sure what happens when you drop one and pick up a new item.
so, there is no way to check if specified inventory slot is empty?
bump