HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Stopping Unit from being sold

06-24-2005, 06:25 PM#1
MrApples
Ok, I have a trigger that is supposed to make it so once a hero is sold, it makes it so there can be no duplicates of that hero, like buying once the cooldown is done, but my trigger doesn't work for some reason, help please?


Code:
Anti Mass Hero
    Events
        Unit - A unit Sells a unit
    Conditions
        ((Sold unit) is A Hero) Equal to True
    Actions
        Neutral Building - Remove (Unit-type of (Sold unit)) from (Selling unit)
06-24-2005, 08:22 PM#2
JetPack
Is this what you want?
06-24-2005, 08:48 PM#3
MrApples
No, I'm looking for how to take away items for sale from a unit so it can no longer be bought.