Trigger:
- Hero Pick
- Events
- Unit - A unit Sells a unit
- Conditions
- ((Sold unit) is A Hero) Equal to True
- Actions
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
- Game - Display to (All players) for 9.00 seconds the text: ((Player_Colors[(Player number of (Owner of (Sold unit)))] + (((Name of (Owner of (Sold unit))) + |r) + has chosen )) + (Name of (Sold unit)))
- Selection - Select (Sold unit) for (Owner of (Sold unit))
Trigger:
- Hero Limit
- Events
- Conditions
- Actions
- Player Group - Pick every player in (All players) and do (Player - Limit training of Heroes to 1 for (Picked player))
I feel like i'm repeating what the people in front of me said, but there you go if you actually need the code