- Joined
- Oct 28, 2019
- Messages
- 523
Im trying make this, I saw in other thread but didnt get a answer
An unit has 5 amor and takes 8 damage, so the damage taken is 8-5 = 3
An unit has 5 amor and takes 8 damage, so the damage taken is 8-5 = 3
-
Show Text Copy Copy
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
Actions
-
Set VariableSet TempLoc1 = (Position of DamageEventTarget)
-
Set VariableSet DamageEventAmount = (DamageEventAmount - (Armor of DamageEventTarget))
-
Floating Text - Create floating text that reads (<Empty String> + ((String((Integer(DamageEventAmount)))) + <Empty String>)) at TempLoc1 with Z offset 100.00, using font size 10.00, color (100.00%, 0.00%, 0.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
-
-