I have a selection helper mod, with helpers for things like selecting the idle units in a given category.
I'd like to change the definition of idle used for factories in this mod slightly, however, to include factories that are assisting other factories, but have no build queue of their own.
(I guess, instead of 'idle', we could then say 'available'.)
I can't see how to check whether or not a factory has a build queue, however.
Anyone have any ideas about how to do this (or whether this is possible from a UI mod)?
(I can get the *command* queue, with unit:GetCommandQueue(), and use this to modify the definition of idle/available for mobile units, but can't see any corresponding way to get information about the *build* queue..)