• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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