Robotexual
New Member
- Reaction score
- 3
Hey, is there any way to make it so that when a unit attacks, it ishows the damage being dealt?
Event - Units - A unit is attacked
Condition - None
Action - Floating Text - Create floating text that reads (String(Damage taken <<This is a real, not an integer)) above ((Triggering unit) with Z offset 0 using font size <size> with color <color> <color> <color> and <percentage> transparency.
Thanks so much!ShaiTan-Enk said:I think it's the TFT WE, not just WEU.
And it looks like this:
Code:Event - Units - A unit is attacked Condition - None Action - Floating Text - Create floating text that reads (String(Damage taken <<This is a real, not an integer)) above ((Triggering unit) with Z offset 0 using font size <size> with color <color> <color> <color> and <percentage> transparency.
Ok. Thanks again.ShaiTan-Enk said:Np, if that doesn't work, try changing the event to this:
Event - Advanced - Any unit takes damage
but that always generates an error code for me, I don't know why =\
Maybe it doesn't generate an error code if you use the TFT WE instead of WEU, but I'm not sure.