Imagine I'm trying to make a trigger like in Island D that only allows you to train 1 hero.
So I build Goblin Labratory or whatever else.
I world Editor I set Goblin Labratory to Train Unit Goblin Titan Hunter.
Anyways So i made this trigger to hopefully work for it and had no such luck...
Also I tried using the the default Melee Script that only lets you hvae 1 type of a hunter, but it's allowing me to have 3 of 1 type of hunter...
Here is the script I tried to useLimit Heroes
Events
Unit - A unit Finishes training a unit
Conditions
((Triggering unit) is A structure) Equal to True
((Trained unit) is A Hero) Equal to True
Actions
Neutral Building - Remove (Trained unit-type) from (Triggering unit)
Edit: Found an extremely easy way to do it I'm just stupid and was making it so much harder than it is, there is an
Limit Heroes
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Player - Limit training of Heroes to 1 for (Picked player))
Anyways I feel really dumb after finding this, lets not make fun
