Warcraft III resources & community, 2003–2006 · archived

Setting the Limit to 1 per hero type for all players

3 posts
#1

Setting the Limit to 1 per hero type for all players

What I'm trying to do is set the limit of a certain hero to 1 for all 12 players. Right now, I'm making 12 triggers for each custom hero I make. Could I use the For Each Integer A from 1-12 do Multiple Actions triggers to make this easier? Or, if I decided to make about 40 custom heroes do I have to make 480 triggers just to make sure you can only build one of each type? Plus all the other player triggers I'm doing, that seems like a lot of work.
#2
well.....u just og to triggers ....choose melee catagory... and chose limit heroes to 1 per player (all players)

=))
#3
FOr each integer A from 1 to *yourmaxplayernumbers* do
Player - Set limit of heroes by Player[For each integer A] to 1

THats the action with for each integer.. :wink:
have fun with map creating :lol: