Detecting units under attack
Posted: Fri Dec 25, 2009 9:54 am
Is there a way to detect if unit is being attacked, with what damage type and which unit is attacking it?
I can check if hitpoints have decreased compared to the previous frame, but is there a better way?
I can check if hitpoints have decreased compared to the previous frame, but is there a better way?