The Triggers i'm using:
So far this works correctly, but when you're hp drops to a really low level, the display on the multiboard won't update anymore and it'll be stuck at IIIIIIIIIIIIIIIIIII
and i'm aware of the fact that it won't be able to judge the x% health corectly once the hero dies....
but apart from that, could someone help?
thnx, and +rep for anyone who helps. like always.
-
Hp Bar loop
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


Set HpColors[1] = |cffff0000
-


Set HpColors[2] = |cffff8000
-


Set HpColors[3] = |cff00ff00
-


Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






((Picked unit) is A Hero) Equal to True
-






((Picked unit) is alive) Equal to True
-
-





Then - Actions
-






Set HpBarProcentualHealth_1 = (Integer((Percentage life of (Picked unit))))
-
-





Else - Actions
-






Set HpBarProcentualHealth_1 = 0
-
-
-
-
-


Set HpBarProcentualHealth_2 = ((HpBarProcentualHealth_1 / 10) x 2)
-


Set HpBarDisplay2 = <Empty String>
-


Set HpBarDisplayEmptyHealth = <Empty String>
-


For each (Integer A) from 0 to HpBarProcentualHealth_2, do (Actions)
-



Loop - Actions
-




Set HpBarDisplay2 = (HpBarDisplay2 + I)
-
-
-


For each (Integer A) from 0 to (20 - HpBarProcentualHealth_2), do (Actions)
-



Loop - Actions
-




Set HpBarDisplayEmptyHealth = (HpBarDisplayEmptyHealth + I)
-
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




HpBarProcentualHealth_1 Greater than or equal to 75
-
-



Then - Actions
-




Set HpBarDisplay1 = ((HpColors[3] + (HpBarDisplay2 + |r)) + (|cff808080 + HpBarDisplayEmptyHealth))
-
-



Else - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






HpBarProcentualHealth_1 Greater than or equal to 50
-
-





Then - Actions
-






Set HpBarDisplay1 = ((HpColors[2] + (HpBarDisplay2 + |r)) + (|cff808080 + HpBarDisplayEmptyHealth))
-
-





Else - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








HpBarProcentualHealth_1 Greater than or equal to 25
-
-







Then - Actions
-








Set HpBarDisplay1 = ((HpColors[1] + (HpBarDisplay2 + |r)) + (|cff808080 + HpBarDisplayEmptyHealth))
-
-







Else - Actions
-
-
-
-
-
-


Multiboard - Set the text for Multiboard_Experience item in column 2, row 3 to HpBarDisplay1
-
-
So far this works correctly, but when you're hp drops to a really low level, the display on the multiboard won't update anymore and it'll be stuck at IIIIIIIIIIIIIIIIIII
and i'm aware of the fact that it won't be able to judge the x% health corectly once the hero dies....
but apart from that, could someone help?
thnx, and +rep for anyone who helps. like always.






