Hero Picking

Krassh_WotI

New Member
Reaction score
0
I have a tavern set up, so whenb you pick a hero, it becomes unavailable for others, but it takes a lot of time the way I do it. Anyone have a faster way?

Code:
Blue Picks Flame Assassin
    Events
        Unit - A unit enters Tavern H <gen>
    Conditions
        ((Owner of (Triggering unit)) Equal to Player 2 (Blue)) and ((Unit-type of (Triggering unit)) Equal to Flame Assassin)
    Actions
        Player - Make Flame Assassin Unavailable for training/construction by Player 3 (Teal)
        Player - Make Flame Assassin Unavailable for training/construction by Player 4 (Purple)
        Player - Make Flame Assassin Unavailable for training/construction by Player 10 (Light Blue)
        Player - Make Flame Assassin Unavailable for training/construction by Player 8 (Pink)
        Player - Make Flame Assassin Unavailable for training/construction by Player 9 (Gray)
        Player - Make Flame Assassin Unavailable for training/construction by Player 2 (Blue)
        Player - Make Sorceror Unavailable for training/construction by Player 2 (Blue)
        Player - Make Lightning Caller Unavailable for training/construction by Player 2 (Blue)
        Player - Make Abyss Warrior Unavailable for training/construction by Player 2 (Blue)
        Player - Make The Holy Lord Unavailable for training/construction by Player 2 (Blue)

That's for one hero, for one player. Is there like, an all player command, or someway of making it easier? Ty
 

troyboy

New Member
Reaction score
5
instead of doing all this part...

Player - Make Flame Assassin Unavailable for training/construction by Player 3 (Teal)
Player - Make Flame Assassin Unavailable for training/construction by Player 4 (Purple)
Player - Make Flame Assassin Unavailable for training/construction by Player 10 (Light Blue)
Player - Make Flame Assassin Unavailable for training/construction by Player 8 (Pink)
Player - Make Flame Assassin Unavailable for training/construction by Player 9 (Gray)
Player - Make Flame Assassin Unavailable for training/construction by Player 2 (Blue)

do

Pick all players in (all players)* and do Player - Make Flame Assassin Unavailable for training/construction by picked player.

*if you want all players.

thats one part easier.
 

MasterRofl

New Member
Reaction score
8
Trigger:
  • Untitled Trigger 004
    • Events
      • Unit - A unit Sells a unit
    • Conditions
    • Actions
      • Player Group - Pick every player in Users and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
      • Player - Limit training of Heroes to 0 for (Owner of (Buying unit))
 

Weegee

Go Weegee!
Reaction score
102
why not set it so only 1 unit has only 1 stock and make the recharge interval some god long number?
 

Krassh_WotI

New Member
Reaction score
0
Ty master rofl <3 Thart's exactly what I was looking for, do you have msn that you could give me, so I can contact you quicker? That would be great, ty so much.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top