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

Upgrading a unit into a new unit?

Status
Not open for further replies.
Level 12
Joined
Dec 2, 2016
Messages
733
Is there a premade unit that can do this.

Basically, I will have a unit with multiple upgradeable tiers.

Lets say you have a foot man, you click on an purchase/upgrade within his abilities/inventory area and he then deletes himself and creates a new unit.

Does that exist already? Or would it have to be custom made?

If custom, I'm guessing I give my unit an ability that he can purchase. But what trigger should I use, unit upgrades? I'm not quite sure.
 
Level 20
Joined
Jun 27, 2011
Messages
1,865
Like this?

  • Upgrade to Footman
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Upgrade to Footman
    • Actions
      • Unit - Replace (Triggering unit) with a Footman using The old unit's relative life and mana
I've attached a file if you want to experiment with it.
 

Attachments

  • demo-unitupgrades.w3x
    14.3 KB · Views: 21
Status
Not open for further replies.
Top