• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Techtree Requirement for Sold Unit

Status
Not open for further replies.
Level 4
Joined
Apr 16, 2012
Messages
83
I have a unit that sells another unit (it's like an upgrade to a new unit, the original unit is removed by trigger after its sold). The problem is I want selling the unit to require a technology or upgrade before it's able to be sold. Putting this upgrade in 'Techtree - Requirements' in the Object Editor field for the new unit doesn't work however, you are still able to buy it.

What is the easiest way around this? Keep in mind that I have many units that do this and many techtree requirements for each unit.
 
Level 3
Joined
Jul 15, 2014
Messages
39
How does the unit sell? By selecting other unit with an ability?
You want the ability to be gray inside unit until its player gets technology?
Try to set these 2 fields inside the ability:
1) Techtree requirments = the needed tecmology
2) Techtree - check dependencies = true
 
Status
Not open for further replies.
Top