Crusher
You can change this now in User CP.
- Reaction score
- 121
So, it won't show the text over my damaged unit once it reaches 150 Hit Points.
Trigger:
- Low Hitpoint System
- Events
- Unit - A unit Is attacked
- Conditions
- (Unit-type of (Attacked unit)) Equal to Barbarian
- (Unit-type of (Attacked unit)) Equal to Healer
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Life of (Attacked unit)) Less than 150.00
- Then - Actions
- Set HirelingAttacked = (Attacked unit)
- Floating Text - Create floating text that reads HirelingStrings[(Random integer number between 1 and 4)] at (Position of HirelingAttacked) with Z offset 0.00, using font size 9.00, color (70.00%, 70.00%, 80.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 64.00 towards 90.00 degrees
- Floating Text - Change the lifespan of (Last created floating text) to 3.00 seconds
- Floating Text - Change the fading age of (Last created floating text) to 2.50 seconds
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events