This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
hi again, how do you show damage over your unit when the weapon is added to the unit by a item (i mean the unit cant attack whitout a weapon in the equipment bag
@Sptpivot: Go
Do you want it to show damage over the units head whenever it attacks, or constantly?
when my unit attacks i want to se the damage
Events Unit - Any Unit takes Fatal or Non-Fatal Any damage (from Any effects) Local Variables unit = (Damaging unit) <Unit> ------- or triggering unit if you want to see the dmg a unit takes and not the dmg a unit does dmg = (Triggering damage amount) <Real> Conditions Actions Variable - Set dmg = (Triggering damage amount) Text Tag - Create a text tag with the text (Text(dmg) with Any Precision decimal places) for (All players), using a font size of 24, at (Position of unit) and height offset (Random real between 1.0 and 2.0), initially Visible, and fog of war enforcement set to false Text Tag - Attach (Last created text tag) to unit at Status Bar point with offset (0, 0). Text Tag - Set the velocity of (Last created text tag) to 0.5 coordinates per second at an angle of (Random real between 70.0 and 110.0) degrees from horizontal Text Tag - Set Duration time for (Last created text tag) to 5.0 seconds
does it
ty it works
hi again, how do you show damage over your unit when the weapon is added to the unit by a item (i mean the unit cant attack whitout a weapon in the equipment bag
@Sptpivot: Go
Do you want it to show damage over the units head whenever it attacks, or constantly?
when my unit attacks i want to se the damage
does it
ty it works