• 🏆 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!

[Solved] unit unlocking trigger

Status
Not open for further replies.
Level 4
Joined
Feb 16, 2013
Messages
60
thanks, still learning the trigger editor

do you mean like have the unit unavailable in the barracks (or other training building) or a certain requirement?
 
Last edited by a moderator:
Level 33
Joined
Mar 27, 2008
Messages
8,035
OR, you can use Research.
If you use Maker's method, the unit won't appear at all in the Barrack menu.

If you use Research, the unit's icon is there BUT it is greyed out indicating that you have to research it first.
It will have a golden text showing the name of the research.

Now, name your research such as "Enter Black Citadel".

And when you hover to your mouse to that locked unit, the requirement should be: Enter Black Citadel
Now, you will know what to do to unlock that unit.

As for upon entering the region, make the research level to 1 and it automatically unlock the unit (I don't have war3 atm, can't show the trigger).
 
Level 4
Joined
Feb 16, 2013
Messages
60
I got it to do that, i used a trigger to make it unavailable in the beginning using this trigger
  • Make Rifleman unavailable for training/construction
same with the blacksmith, then i made
  • when unit enters region 000
  • (Aeduuin(is a hero)) equal to true
  • make Rifleman available for Training/construction
and it worked

I also added a turn of action so it won't keep happening
 
Last edited by a moderator:
Status
Not open for further replies.
Top