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

Bug: Can't remove items added in object editor of shops

Level 5
Joined
Sep 20, 2024
Messages
31
Hello, I want to make it so items in each shop can only be bought once and is then removed from the shop you bought it from.

I tried this trigger with different actions but none of the items are removed from the shop. The items have been added in object editor of each shop building.
  • Item bought in shop
    • Events
      • Unit - A unit owned by Neutral Passive Sells an item (from shop)
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Item-type of (Matching item)) Equal to Enchanted Shield
          • (Item-type of (Item being manipulated)) Equal to Sturdy War Axe
          • (Item-type of (Sold Item)) Equal to Gauntlets of Ogre Strength +3
          • (Item-type of (Sold Item)) Equal to Hood of Cunning
          • (Item-type of (Sold Item)) Equal to Talisman of Evasion
          • (Item-type of (Sold Item)) Equal to Crown of Kings +5
    • Actions
      • Neutral Building - Remove (Item-type of (Sold Item)) from (Selling unit)
Is this a bug? I suspect you can only remove items from shops that were added with triggers?
 
Back
Top