how to i make {itemA} require {itemB} to purchase? (not upgrades and units, itens)
man, i want to ITEM A needs ITEM B to be puchesased! i to i do it??!
say to me too taths conditions i need to do it
the number one note, Any unit owned by the same player as the buyer needs to have an item of that type in inventory.Examples:
- Any unit owned by the same player as the buyer needs to have an item of that type in inventory.
- All units owned by the same player as the buyer need to have an item of that type in inventory.
- Somewhen before, the player needs to have bought such an item.
- Somewhen before, the player needs to have killed such an item.
- The player needs to have a shop offering that type of item.
Adiktuz's example does not work with requirements as requirements are player-related.
i want to HERO to buy ITEM A needs ITEM B in inventory...
then my suggestion would fit...
but man, i dont know make it im brazilian english is hard
try this
If you just want one of those Recipe systems like in DotA then search this forum for it, you could just use those.
If not, then post this in the Requests subforum.