• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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.
 
Level 6
Joined
Mar 15, 2005
Messages
112
  • 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.
Top