How to add floating text over killed unit.

adan_eslavo

Archmage of all Pixels
Supporter
Joined
Apr 23, 2017
Messages
3,487
Location
Łódź, Poland
I created few promotions in lua. The only thing missing is sort of text showing up over killed unit (f.e. "Bleed!", "+10 Food"). It's the same kind of text like using Unit_YieldFromKills SQL table. The problem is I cannot use this table, so I need to do this by lua code. Any idea how to do this?
Screen.
 
Thank you for help. I made it working.
 
Top Bottom