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

Healing Detection

Status
Not open for further replies.
Level 5
Joined
Jun 29, 2009
Messages
142
Quick Question:

Well I know how to make a damage detection system that creates floating text above the unit for how much damage you deal... blah blah blah

Is there a way to detect how much health was healed on an ally or self and create a green floating text over that person? Is it possible in GUI or does it have to be jass?

Please post the answer or a link to a useful system (preferably GUI)
 
You firstly need to make a trigger, that counts the regeneration of the hero. After that, you will make a trigger that checks when one of your healing abilities is cast. Up to the cast delay of each of the abilities, you will create one timer that will expire in 0.00 seconds for example. You will save the target unit (the healed one) to the timer and load it when the timer expires. If the health of the unit becomes greater than the default regeneration, it means that it got healed. Make an abstraction of health a and health b (b is the after-heal) and you'll get the amount of heal.
 
Status
Not open for further replies.
Top