• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

limit unit production

Status
Not open for further replies.
Level 3
Joined
Jun 24, 2013
Messages
31
Hey guys i was wondering how can i limit a production of a unit so its like this:if i want to set 50 footmen to be the max of how can a player train footmans how can i do it?
But on a hero,so i wanna set a custom hero on a custom building and limit his training to only 1 time avaivable?
 
Level 23
Joined
Oct 20, 2012
Messages
3,075
For the first one:
  • Player - Limit training of Footman to 1 for Player 1 (Red)

For the hero thingy:
- There's something in the gameplay constants you can change so to limit the training of heroes.
- This too:
  • Player - Limit training of Heroes to 3 for Player 1 (Red)
- You can also use this to limit training of specific hero types.
  • Player - Limit training of Footman to 1 for Player 1 (Red)

EDIT: Yeah, what daffa said.
 
Status
Not open for further replies.
Top