I'm trying to have a condition that checks the unit-type of item carried by a hero in slot 1, or slot 2 in the inventory etc
Debug - Display (Name of (Unit type of (Item carried by SuperHero [156.58, 110.79] in 2))) as debug output using Type 1, and Do display it in the game window
I tried that trigger out (thinking that is slot "2" in the inventory) but its not
its actually means the 2nd item the hero picked up, and doesnt matter what item slots you move your items around in
for example if i picked up "Burger" and then "fries", and moved both items to inventory spaces 5 and 6, the above trigger would keep sending message "fries" cause thats the 2nd item the hero picked up
well I don't want the order of the items, I want a condition to reference the unit type of a item in a specific box/slot/space in the inventory
I'm trying to have a condition that checks the unit-type of item carried by a hero in slot 1, or slot 2 in the inventory etc
Debug - Display (Name of (Unit type of (Item carried by SuperHero [156.58, 110.79] in 2))) as debug output using Type 1, and Do display it in the game window
I tried that trigger out (thinking that is slot "2" in the inventory) but its not
its actually means the 2nd item the hero picked up, and doesnt matter what item slots you move your items around in for example if i picked up "Burger" and then "fries", and moved both items to inventory spaces 5 and 6, the above trigger would keep sending message "fries" cause thats the 2nd item the hero picked up
well I don't want the order of the items, I want a condition to reference the unit type of a item in a specific box/slot/space in the inventory
How would you do this?
So does anyone know how to reference a particular item in a certain slot?
such as u want to check the unit type of item in the unit's slot 5 inventory