• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

removing bought hero from random selection

Status
Not open for further replies.
Level 4
Joined
Oct 15, 2008
Messages
77
as the title says, what would be the best way to go about removing a bought hero so you could only have one hero playable in the map. removing them from the tavern is easy so they cant be picked. but there is also a random selection.
 
  • Untitled Trigger 001
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
      • (Number of units in (Units owned by Player 1 (Red) matching (((Matching unit) is A Hero) Equal to (==) True))) Greater than or equal to (>=) 2
    • Actions
      • Unit - Remove (Sold unit) from the game
If greater the 2 doesn't work try 1. Not sure if it will count the one you just got or not.
 
Status
Not open for further replies.
Back
Top