whenever one of my units attacks a unit owned by nh, it will only display 0, instead of the actual damage the hostile unit is taking.
Trigger:
- Damage Done
- Events
- Unit - A unit owned by Neutral Hostile Is attacked
- Conditions
- Actions
- Floating Text - Create floating text that reads (String((Integer((Damage taken))))) at (Position of (Triggering unit)) with Z offset 0.00, using font size 8.00, color (0.00%, 100.00%, 0.00%), and 0.00% transparency
- Floating Text - Change (Last created floating text): Disable permanence
- Floating Text - Set the velocity of (Last created floating text) to 150.00 towards 90.00 degrees
- Floating Text - Change the lifespan of (Last created floating text) to 4.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 1.33 seconds
- Events