• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[General] how to i do a item require other item (not upgrades and units)

Status
Not open for further replies.
how to i make {itemA} require {itemB} to purchase? (not upgrades and units, itens):goblin_jawdrop:

u cant, u just can remove from hero and give back the gold....

(if u store every purchasable item type&gold price to variable then u can give back the correct value and max u can add remove from market and maybe that refresh the stock interval if start interval is 0 :/)
 
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
 
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.
 
aww, now i unsderstanded sorry ^^ (but this topic dont ended Ò.ó )
i want to HERO to buy ITEM A needs ITEM B in inventory... this helped you?


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.
the number one note, Any unit owned by the same player as the buyer needs to have an item of that type in inventory.
 
Status
Not open for further replies.
Back
Top