Winterherz
New Member
- Reaction score
- 39
How do you create a floating text above the target of unit of ability being cast that reads the amount of healed done by the caster?
The whole healing effect must be triggered, using holy light wont work.
Set the life of unit to (life of unit + 100)
Create floating text displaying 100 over unit
You need to convert it to an Integer, like this:
Trigger:
- Floating Text - Create floating text that reads (+ + (String((ToD_Base_Heal x (Integer((ToD_Ability x ToD_Unit_Counter))))))) above ToD_Caster with Z offset 0.00, using font size 10.00, color (0.00%, 50.00%, 10.00%), and 0.00% transparency
So you convert the whole thing to an integer, not just "ToD_Base_Heal"
(This is freehanded, but it's the basic concept )
I know, this trigger was -BeRzErKeR-'s idea, adn trigger but i used it in my map Btw, it a spell
Trigger:
- Taste of Death
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Taste of Death
- Actions
- ( ETC. )
post your code?