• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

A market selling specific item

Status
Not open for further replies.
  • (Item-type of (Sold Item)) Equal to Tome of Experience
If this isn't what you want, you'll need to elaborate on what your trying to do. Why do you need to check if a shop sells a certain item? You should know what items are being sold by the shop in the first place.
 
Well, you'll check if the shop is the one that is selling that item. Or, if you added the items via trigger then put the shop into a unit group or a unit variable (if there can be only one shop with that item) and use it to find the shop
 
I think he means like the neutral marketplace building. How do you know if it's selling a particular item?

I don't have the answer and I'm not even really sure how the marketplace works.
 
Well, you are the one that's putting the items in the shop right?
The items can also be added during the game in a way you can't predict which shop contains a certain item, so, if that's the case, you need to store the shop in a variable when adding the item into the shop through a trigger. Understand?
 
Status
Not open for further replies.
Back
Top