• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Hero limit (helpme)

Status
Not open for further replies.
Level 8
Joined
Mar 12, 2008
Messages
437
Or you can use a trigger too.

  • Events
    • Units - A unit is sold
  • Conditions
    • ((Sold unit) is a Hero) Equal to True
  • Actions
    • Player Group - Pick every player in (All allies of (Owned of (Sold unit)) matching ((Matching player) Not equal to (Owner of (Sold unit)) Equal to True)
      • Unit - Make (Unit-type of (Sold unit)) unavailable for construction for (Picked player)
It's something like that.
 
Status
Not open for further replies.
Top