Warcraft III resources & community, 2003–2006 · archived

check unit attacked

3 posts
#1

check unit attacked

how do i do an effective check that a unit is attacked? (not like the one in GUI)
#2
do you mean like a certain unit being attacked or a general unit? (certain unit being footman01, general being ground unit.) or do you mean a certain type of unit (footmen-specifying all footmen in general)
#3
The current event EVENT_UNIT_ATTACKED can be easily abused, and sadly there isn’t any real substitutes that will work 100% of the time. Check out this link though.
http://www.wc3jass.com/viewtopic.php?t=2020
Dont know if that helps but.