• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Little question

Status
Not open for further replies.
Level 22
Joined
Jun 23, 2007
Messages
3,242
Alright, ive made a hero (myrmidon) and i allowed the altar to build it. ive also added it to the gameplay constants so that only one will build per tier.
How can i make it so that i can have only 1 myrmidon at a time?

Last, i made this Captain unit. I want it so that there will be only 5 per army. how do you make it so?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Well
When a chaplain is trained
if number of chaplains for owner of triggering unit is 5
Player - Disable Chaplain for trainning for owner of triggering unit

when a unit dies
if its a chaplain
Player - Enable Chaplain for owner of triggering unit

simple eh?
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
you will be unable to train after you get 5 units
even if one of them dies
As fas as I know
 
Status
Not open for further replies.
Top