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

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

Status
Not open for further replies.
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.
 
  • 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.
 
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.
Back
Top