hamiltonbb2
Cool Member
- Reaction score
- 0
Can anyone tell me why this isn't updating my hp % every second on the multiboard?
edit: Got it working...sorry guys
Code:
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
If ((((Owner of (Picked unit)) controller) Equal to User) and (((Unit-type of (Picked unit)) is a Hero) Equal to True)) then do (Multiboard - Set the text for (Last created multiboard) item in column 5, row Multiboard_Spots[(Player number of (Owner of (Picked unit)))] to ((String((Integer((Percentage life of (Picked unit)))))) + %)
edit: Got it working...sorry guys