• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Load/Unload

Status
Not open for further replies.
yes but not inside hero but somewhere outside where no player is hitting or going to your place

couldn't the heal be done if you set negative values for dmg in devour ability? i mean wouldn't the unit be healed instead of being damaged?
 
The hero wouldn't be able to leave or be unloaded if it's devoured. (I think. Haven't paired devour and unload together before)

Alternatively, you could GUI or Script it yourself, which may be the least messy way.

To do that easily, you would need AutoIndex and AutoEvents, and perhaps a little knowledge of JASS or GUI + Custom Scripts.

You could do it without those by creating your own load/unload abilities. When you use the load ability on a unit, you store that unit in a variable and hide it. When you unload it, or when the unit dies, you move the unit to the unloading unit and unhide it.
While it's hidden, you heal the unit.

For more details on how to create something like that, ask in the Trigger zone.

I used something similar in my 11th Vampire map with the Osirian Vampire.
 
couldn't the heal be done if you set negative values for dmg in devour ability? i mean wouldn't the unit be healed instead of being damaged?

That's the first thing that came on my mind but devour doesn't work as he wants it to, it can only carry one unit at a time and it will drop it only when it dies.
The best way I can think of right now is use boats' load ability and when you load a unit you give it item ability ring of regeneration with the bonus hp regen you want.
 
Status
Not open for further replies.
Back
Top