NovaKing
New Member
- Reaction score
- 0
A trigger runs this one, can someone help me figure out why this won't work.
Code:
Player 0 Burn
Events
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Remaining time for FlameOn1) Greater than 0.00
Then - Actions
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
Loop - Actions
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Picked unit))) and do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Items\AIfb\AIfbSpecialArt.mdl
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - (Flame1 x (Remaining time for FlameOn1)))
Floating Text - Create floating text that reads (String((Flame1 x (Remaining time for FlameOn1)))) at (Position of (Picked unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 50.00%, 50.00%), and 0.00% transparency
Floating Text - Change (Last created floating text): Disable permanence
Floating Text - Change the lifespan of (Last created floating text) to 0.50 seconds
Wait 1.00 seconds
Trigger - Run Player 0 Burn <gen> (ignoring conditions)
Else - Actions
Set Flame1 = 0.00
Countdown Timer - Destroy FlameOn1_time