Idle workers count

Status
Not open for further replies.
Do you mean with Triggers? Or something else? You must be more specific so we know what you want exactly.

Code

You gotta specify exactly what you need, cause I would try to help but I have no idea what effect you're trying to accomplish

He did.

He wants the number of workers that are not doing anything. The game shows this number in the left bottom corner with the icons of the units. How can this number be stored in a variable for later use? is the question.
 
My best bet on this is give all peon type that are idle some sort of passive ability that has a buff (put this ability inside of a disabled spellbook so it doesn't show up), set the buff icon to no icon so it doesn't show up and use a trigger to count how many units have this buff. This is my best bet as I have never dealt with this before.
 
Status
Not open for further replies.
Back
Top