Register Units
Events
Unit - A unit enters (Playable map area)
Conditions
None
Actions
Trigger - Add to Show Damage <gen> the event (Unit - (Triggering unit) Takes damage)
Dmg Trigger
Events
None
Conditions
(Damage taken) Not Equal to 0.00
//And yes, damage taken can be equal to 0.00, like Hardened Skin with 0 min dmg
Actions
Set loc = (Position of (Triggering unit)) //loc is a Location/Point variable, it is against leaks ^^
Floating Text - Create floating text that reads (String((Integer((Damage taken))))) at loc with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Set the velocity of (Last created floating text) to 40.00 towards 90.00 degrees
Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds