- Joined
- Jan 17, 2010
- Messages
- 6,111
Well you can use something like this then:
-
Damage Setup
-

Events
-


Unit - A unit comes within 1000000000.00 of Fountain of Power 0052 <gen>
-
-

Conditions
-

Actions
-


Trigger - Add to Show Damage <gen> the event (Unit - (Triggering unit) Takes damage)
-
-
-
Show Damage
-

Events
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Damage taken) Greater than or equal to 1.00
-
-



Then - Actions
-




Set DSS = (Position of (Triggering unit))
-




Floating Text - Create floating text that reads ((String((Integer((Damage taken))))) + !) at DSS with Z offset 20.00, using font size (Random real number between 7.00 and 9.00), color (100.00%, 0.00%, 0.00%), and 0.00% transparency
-




Floating Text - Show (Last created floating text) for (All players)
-




Floating Text - Set the velocity of (Last created floating text) to 25.00 towards (Random angle) degrees
-




Floating Text - Change (Last created floating text): Disable permanence
-




Floating Text - Change the lifespan of (Last created floating text) to 1.50 seconds
-




Floating Text - Change the fading age of (Last created floating text) to 2.00 seconds
-




Custom script: call RemoveLocation (udg_DSS)
-
-



Else - Actions
-
-
-
Last edited by a moderator:
Approved



























