• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Trigger] Neutral Building - Remove Unit-Type (From Marketplace)

Status
Not open for further replies.
Level 17
Joined
Jun 12, 2007
Messages
1,261
Check a few things:

1) Does the building that you want to remove the buyable unit from have the "sell unit" ability?

2) Did you make sure you selected the proper unit that you want to remove and did u select the proper neutral building you want to remove it from?

  • dhj
    • Events
    • Conditions
    • Actions
      • Neutral Building - Remove Footman from Mercenary Camp (Lordaeron Summer) 0000 <gen>
3) Do you have a event that actualy starts the trigger? To test if the actions get activated add an extra game message so you can see ingame if it starts.

If these are all just fine plese tell us more about your problem.
 
Level 8
Joined
Jul 25, 2006
Messages
177
  • Learns a Spell
    • Events
      • Unit - A unit Sells a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Unit-type of (Sold unit)) Equal to Arcane Missiles
        • Then - Actions
          • Unit Group - Pick every unit in (Units owned by (Owner of (Sold unit)) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
            • Loop - Actions
              • Unit - Add Arcane Missiles to (Picked unit)
          • Neutral Building - Remove Arcane Missiles from (Selling unit)
          • Unit - Remove (Sold unit) from the game
        • Else - Actions
Thats what i have and the Arcane Missiles unit does not get removed from the shop. The shop does have the sell units ability.
 
Level 5
Joined
May 17, 2007
Messages
106
It's because you added Shop's List in Object Editor.
  • Neutral Building - Remove Unit-Type (From Marketplace)
Only work when you use
Neutral Building - Add Unit-Type (to Marketplace).

So what I mean is, you should create a trigger that adding Unit-Type to the Marketplace first.
 
Status
Not open for further replies.
Top