I was just messing around with map editor a bit, to figure out how to do some things before I use it. I tried making an orc hero and replacing the troll shadowhunter with it, but when I tested it I could build as much of the hero as I wanted to without even having to upgrade to stronghold. How do I fix this?
You have to set the maximum of heroes like: For each integer A from 1 to 12 do: if Player(For Integer A)controller equal to user then Player - Set Player(For Integer A) maximum of heroes to 1!
Thanks, though that's not exactly what I meant. I was asking how to limit the creation of a certain kind of hero to 1, so you can't create 3 of the same hero in one game. I figured out how to do this, but I still do not understand the "For each (Integer A)from 1 to 12, do (actions)". How do you make it so that the actions after it affect player(Integer A) instead of just player1, player 2, etc. I am new to Warcraft 3 triggers and need some help with this.