- Joined
- Oct 28, 2019
- Messages
- 523
My unit dont have attack, when you press Q it cast forked lighting at target, adapted to a melee attack. The system is ok
But have problems with the floating text that show the damage, it shows the damage, but show the damage of the forked lighting too (0) how to solve this
I´ve put game text RUN2, it is appearing 2x
But have problems with the floating text that show the damage, it shows the damage, but show the damage of the forked lighting too (0) how to solve this
I´ve put game text RUN2, it is appearing 2x
-
Show Text Copy
-
Events
-
Unit - A unit Takes damage
-
-
Conditions
-
(HeroVariable has buff Defend ) Equal to False
-
-
Actions
-
Set VariableSet TempLoc1 = (Position of (Damage Target))
-
Game - Display to (All players) the text: run2
-
Floating Text - Create floating text that reads (<Empty String> + ((String((Integer((Damage taken))))) + <Empty String>)) at TempLoc1 with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
Custom script: call RemoveLocation(udg_TempLoc1)
-
Floating Text - Change (Last created floating text): Disable permanence
-
Floating Text - Change the lifespan of (Last created floating text) to 2.00 seconds
-
Floating Text - Change the fading age of (Last created floating text) to 1.00 seconds
-
Floating Text - Set the velocity of (Last created floating text) to 80.00 towards 90.00 degrees
-
-
-