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

Mercenary Techtree Requirements

Status
Not open for further replies.
Level 3
Joined
Sep 28, 2012
Messages
36
Hello,

I am currently trying to make it so a certain mercenary unit requires a technology to have been research in order to be hireable. Unfortunately, this seems to not be working; the player can hire the mercenary from the neutral building despite not having the tech researched.

Other kinds of requirements for neutral hireable units, such as the requirement to have an altar built for Tavern heroes, seem to work.

Is what I'm trying to do possible? If so, what did I do wrong?
 
Level 10
Joined
Dec 17, 2011
Messages
355
I think there is a very simple solution. Create a unit type with the same icon as mercenary for each of your "mercenaries" .Set these stock value of these units to 0 in the object editor.When you finish a research,replace the hireable unit of the tawern to your real unit (what has min 1 stock value) .Im not sure if its changeable or not with triggers,unfortunately i dont have WE in this computer to check it out.
 
Status
Not open for further replies.
Top