- Joined
- Oct 28, 2019
- Messages
- 523
The trigger is done, but there as problem, The damage displayed is all red... what condition I can use to show Green to damage enemies , and Red the player?
-
Show Text Copy
-
Events
-
Game - DamageEvent becomes Equal to 1.00
-
-
Conditions
-
Actions
-
Set VariableSet TempLoc1 = (Position of DamageEventTarget)
-
-------- Use only 1 of the 2 options below --------
-
-------- 1) This will display a REAL value (e.g.: 5.589) --------
-
Floating Text - Create floating text that reads (|c00dd2200 + ((String(DamageEventAmount)) + |r)) at TempLoc1 with Z offset 100.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
-
-------- 2) This will display an INTEGER value (e.g.: 5) --------
-
Floating Text - Create floating text that reads (|c00dd2200 + ((String((Integer(DamageEventAmount)))) + |r)) 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
-
-