WolfieeifloW
WEHZ Helper
- Reaction score
- 372
It shows a bar with 15 |, when it should be showing 30 |.
And it doesn't go away, it just stays there forever.
Initially set off:
And it doesn't go away, it just stays there forever.
Trigger:
- Untitled Trigger 001
- Events
- Unit - A unit Begins casting an ability
- Conditions
- Actions
- Set cccString = |c00FFFFFF|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||r
- Floating Text - Create floating text that reads cccString above (Target unit of ability being cast) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
- Set cccBar = (Last created floating text)
- Set cccInt = 30
- Trigger - Run Untitled Trigger 002 <gen> (checking conditions)
Initially set off:
Trigger:
- Untitled Trigger 002
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- cccInt Greater than (>) 0
- Then - Actions
- Floating Text - Change text of cccBar to (Substring(cccString, 1, cccInt)) using font size 10.00
- Set cccInt = (cccInt - 1)
- Else - Actions
- Floating Text - Change cccBar: Disable permanence
- Floating Text - Change the lifespan of cccBar to 0.00 seconds
- Trigger - Turn off (This trigger)