I want hero Arthas with Frostmourne to transform into Arthas with hammer after he drops an item of certain type, of which he can have more items in his inventory.
Despite setting attributes etc.
I managed to do the opposite. When Awh picks the item, he turns into AwF.
When he drops the item, Arthas sure transforms into Awh but with the dropped item on the ground and at the same time with it in inventory. I checked it and assumed that it is the same item, because I can not drop it and when I issue order to kill the item in inventory, the hero goes to the dropped item.
I tried to interfer the trigger by dropping the item from hero, then it's ok, but another problem accures. I can't sell the item, because it's being dropped before transaction resolves.
Does anyone have any idea how to "replace a unit"(hero) when he looses an item without the problem of double representation of the item on the map and in inventory?
Thanks in advance!
Despite setting attributes etc.
I managed to do the opposite. When Awh picks the item, he turns into AwF.
When he drops the item, Arthas sure transforms into Awh but with the dropped item on the ground and at the same time with it in inventory. I checked it and assumed that it is the same item, because I can not drop it and when I issue order to kill the item in inventory, the hero goes to the dropped item.
I tried to interfer the trigger by dropping the item from hero, then it's ok, but another problem accures. I can't sell the item, because it's being dropped before transaction resolves.
Does anyone have any idea how to "replace a unit"(hero) when he looses an item without the problem of double representation of the item on the map and in inventory?
Thanks in advance!
Last edited: