• 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.

How do I make items drop onto the shop?

Status
Not open for further replies.
I want all units owned by player 11 to have 100% to drop randomed charge type item that matches their levels.
I did this with trigger, but its sucks: the shop called "MARKETPLACE" won't detect items created this way and it was my intention to begin with - to make the items to be on that shop.
Is there a trigger that do "ADD ITEM TO MARKETPLACE"?
There are 156 units with different levels and its going to be too hard to do it one by one, is this the only way?
Thanks in advance


EDIT: What is "item table"? Can item table solve this?
 
  • Neutral Building - Add Tome of Experience to Marketplace 0000 <gen> with 0 in stock and a max stock of 1
Neutral Building -> Add Item-Type to Marketplace.

I get it now. 1 stock means it is corrently available, regardless if it has cooldown on map start, the max stock modify the item max stock for that shop.
You improved my map greatly.
  • Unit Group - Pick every unit in ug and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Random integer number between 1 and 2) Equal to 1
        • Then - Actions
          • Neutral Building - Add itemtype to (Picked unit) with 1 in stock and a max stock of 1
        • Else - Actions
 
its not a bug. its just that that item table is for that specific unit so when it gets replaced it replaces the item table.

As i said u can use my system it is very easy to use. It makes item drop tables that work throughout the game.

I was talking about the revive bug. Revived unit is replaced? 0_0
I got the question solved allready but thanks anyways.
 
Status
Not open for further replies.
Top