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

[General] Limit Hero to 1 for all players

Status
Not open for further replies.
Level 30
Joined
Feb 18, 2014
Messages
3,623
  • Limit Hero Training
    • Events
      • Unit - A unit Finishes Training A Unit
    • Conditions
      • ((Trained unit) is A hero) Equal to TRUE
    • Actions
      • Set PlayerGroup = (All players matching ((Matching player) Not equal to (Owner of (Trained unit))))
      • Player Group - Pick every player in PlayerGroup and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Trained unit)) Unavailable for training/construction by (Picked player)
      • Custom script: call DestroyForce (udg_PlayerGroup)
 
Status
Not open for further replies.
Top