- Reaction score
- 534
Interesting system. I like it
Some cons though, such as the lag. +rep!
Some cons though, such as the lag. +rep!
If the HP bar is useless because you can just hold ALT, then the mana bar is another feature that is new so I figure its good right?
I did this because I thought it would be interesting and useful.
Hey a weird bug found; I clicked that wolf and I used Divine Shield. The wolves then become invisible while it's health is still there.
local integer i
local boolean b
loop
if GetOwningPlayer(u) != Player(i) then //check if owner of u not equal to Player(i)
if IsUnitInvisible(u,Player(i)) and IsVisibleToPlayer(GetUnitX(u),GetUnitY(u),Player(i)) then //is unit invisible for unit and point of unit visible
set b=true
endif
endif
exitwhen b
endloop
if not b then //do actions if invisble
else //if unit is not invisible for player then
endif
call SetTextTagVisibility(GetHandleTextTag(whichUnit,"lifebar"),IsUnitVisible(whichUnit,GetLocalPlayer()))