I have made a very simple trigger to display the damage a unit takes when it is attacked...
I dont understand why this comes up with 0.000 above the unit instead of a number greater than that when the unit IS actually being damaged...
Also i would like some ideas on how to make a trigger to display when a unit is healed excluding normal regeneration...
Code:
Event: Unit - A unit is attacked
Actions: Floating Text - Create Floating Text that reads (String(Damage Taken)) (above attacked unit) with blah blah blah
Floating Text - Set Velocity of (Last created Floating text to 64.0 towards 90'
Floating Text - Change the fading age of (Last Created Floating Text) to 1.00 sec
I dont understand why this comes up with 0.000 above the unit instead of a number greater than that when the unit IS actually being damaged...
Also i would like some ideas on how to make a trigger to display when a unit is healed excluding normal regeneration...