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

Upgrade Unit A to Unit B

Status
Not open for further replies.
Level 4
Joined
Sep 13, 2010
Messages
58
Hi,

Wondering how to upgrade one unit to another. Basically like upgrading the Scout Tower in WC3 to the Guard Tower. Anyone know how to do this?

Thanks (in advance)!
 
Level 4
Joined
Sep 13, 2010
Messages
58
Thanks!

Alright, I got it to work the way I wanted. The morph ability (Upgrade Unit A to Unit B) takes care of morphing the units, but not the actors/models. So, Actor events are necessary for that.

Here is what I did for the actor events:

UNIT A (ACTOR)
-AbilMorph.UpgradeUnitAtoUnitB.Finish
--Destroy Immediate

UNIT B (ACTOR)
-AbilMorph.UpgradeUnitAtoUnitB.Finish
--Create

Pretty simple it turns out!

I copied the unit flags from other units with morph abilities, which may have helped.
 
Last edited:
Status
Not open for further replies.
Top