I recently implanted a Damage detection system with floating texts,
Now i want the color of those floating texts, to have the same color of the owner of the (Damage Source).
how do i do this?
-
Damage Detection
- Events
- Conditions
-
Actions
- Set Temp_Real_1 = (Damage taken)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Temp_Real_1 Greater than or equal to 1.00
-
Then - Actions
- Floating Text - Create floating text that reads (String((Integer(Temp_Real_1)))) above (Triggering unit) with Z offset 64.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 0.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 60.00 towards 90.00 degrees
- 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.70 seconds
- Else - Actions
-
If - Conditions
how do i do this?