What someone else taught me to do was to make a trigger with a unit event, like entering map area, make an action that adds a unit event to another trigger that reads (triggering unit takes damage). In that trigger (which originally has no event) you would have something like this (what I have for my map):
Trigger:
- Show Damage
- Events
- Conditions
- (Damage taken) Greater than 1.00
- Actions
- Set DmgFloater = (Damage taken)
- Floating Text - Create floating text that reads (String(DmgFloater, 2, 0)) at (Position of (Triggering unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 0.00%, 0.00%), and 20.00% transparency
- Floating Text - Set the velocity of (Last created floating text) to 64.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 3.00 seconds
Works like a charm. It might leak or something though.
this is closest thing i see(triggering unit takes damage)
Set real = (Damage taken)
Don't.omg!! can't believe i didn't see that!! i feel like a failure now..![]()