go2starr / CS-638-BWAPI

Starcraft: Broodwar AI bot
GNU Lesser General Public License v3.0
9 stars 7 forks source link

Build order is halted if an SCV assigned to a request dies #14

Open go2starr opened 12 years ago

go2starr commented 12 years ago

If an SCV has been assigned to build something (i.e. an order is in the ISSUED state), and the SCV (or builder of any type) is killed, then the BO will not proceed.

We should detect when a builder is killed, find a new one, and re-open req's (i.e. monitor their state to completion).

jmloethen commented 12 years ago

I wonder if the SCV is reassigned that this may also occur, for example if in a middle of the match the SCV scout dies, then a new one gets reassigned from the build manager, and that SCV may have been executing a build order.