Function to check if a building has units/upgrades in production queue?

Started by 1337, March 06, 2010, 08:32:41 PM

Previous topic - Next topic

hd

AIGrabUnit would work.

Assuming the AI creates units from buildings in the order they were created, you could write a function that would keep track of what buildings are producing by how many of a unit the building type produces are in progress.

Kernel64