Detecting units under attack

https://github.com/bwapi/bwapi
krmenadla
Posts: 4
Joined: Fri Dec 25, 2009 9:44 am

Detecting units under attack

Postby krmenadla » 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?

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 1 guest