• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Combined unit mana issues

Status
Not open for further replies.
Level 28
Joined
Apr 6, 2010
Messages
3,107
I'm running into a problem with a combined unit (based off the Archer, Hippogriff and Hippogriff Rider).

One of the basic units has mana, and the combined unit has the same total amount of mana. But the combined unit has mana according to what the object editor gives as starting mana, instead of how much mana the original unit had (e.g. archer can be at 0, 100 or 200 mana but combining will have the rider at 100 mana or whatever the object editor lists as starting mana). Similarly, separating the units returns the mana to starting values (so the rider could be at 0 mana, and dismounting gives the archer 100 mana instantly).

I suppose I could have the combining cost all the unit's mana as a workaround, but is there a triggerless way to keep the original amount of mana on the combined/separated unit, in the same way that combining damaged units will result in the new units also being damaged?
 
Status
Not open for further replies.
Top