• 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.

Campaign heroes melee map

Status
Not open for further replies.
Level 4
Joined
Dec 1, 2008
Messages
48
Hi guys. I need some help on making a melee map with campaign heroes. First I couldn't fix the problem with making multiply heroes at the same time, for example making Uther 5 times. I fixed that through gameplay constants and with triggers. But now I have the problem where I can make make 3 heroes on 1 tier. For example:

In the Human race altar I removed the normal heroes and set Kael, Jaina, Uther, Muradin Bronzebeard. When I click on Uther, he starts to train but after him I can train 2 more heroes, for example Jaina and Muradin and this is while I am on tier 1. How can I fix this, I mean forbid a second hero to be trained before tier 2 and forbid 3rd hero to be trained before tier 3.

I set on every hero Tech Tree Requirements for tier 2 to be Keep and for tier 3 to be Castle but this did not solve the problem.

Any tips? Thanks a lot.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Gameplay Constants:
"Techtree - Dependency Equivalents - Hero": add the campaign heroes you wish to use to that list.

Triggers:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Player - Limit training of [Hero Type] to 1 for (Picked player)
Object Data:
Techtree - Requirements - Tier 2: Keep
Techtree - Requirements - Tier 3: Castle
Techtree - Requirements - Tiers Used: 3 (very important! This might be the reason it's not working for you since default of campaign heroes is 0).
 
Level 4
Joined
Dec 1, 2008
Messages
48
Gameplay Constants:
"Techtree - Dependency Equivalents - Hero": add the campaign heroes you wish to use to that list.

Triggers:
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • Player - Limit training of [Hero Type] to 1 for (Picked player)
Object Data:
Techtree - Requirements - Tier 2: Keep
Techtree - Requirements - Tier 3: Castle
Techtree - Requirements - Tiers Used: 3 (very important! This might be the reason it's not working for you since default of campaign heroes is 0).

OMG... I'm so dumb, I did all that before you replied but I did not set the Tier Used to 3 in objects editor. I was comparing every campaign hero with the normal one and applying the same settings the normal heroes have to the campaign heroes but I missed the Tier Used thing. Anyway thanks a lot really :grin: :grin: everything is working fine.
 
Status
Not open for further replies.
Top