I need to disable an ability button on my refinery when the refinery has 3 or more workers harvesting it, and re-enable it when the refinery has less than 3 workers. I figured the best way to do this might be through requirements. So, how to make such a requirement?
Of course, I don't mind using other methods as along as I can achieve my goal.
Welcome to sc2mapster :D I have some newbie tutorials in my signature if your interested. Feel free to PM me any questions you have.
As for your question...This is a tricky one. I'm not sure if its even possible O.o
My only idea would be to somehow track the number of probes on the refinery via triggers and variables and somehow disable the button with them. Anybody else have a better idea?
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
I need to disable an ability button on my refinery when the refinery has 3 or more workers harvesting it, and re-enable it when the refinery has less than 3 workers. I figured the best way to do this might be through requirements. So, how to make such a requirement?
Of course, I don't mind using other methods as along as I can achieve my goal.
@invalidinput: Go
Welcome to sc2mapster :D I have some newbie tutorials in my signature if your interested. Feel free to PM me any questions you have.
As for your question...This is a tricky one. I'm not sure if its even possible O.o
My only idea would be to somehow track the number of probes on the refinery via triggers and variables and somehow disable the button with them. Anybody else have a better idea?
@zeldarules28: Go
Thanks for the warm welcome. I'll be sure to check those tutorials out.
So, how to track the number of harvesters of the refinery? I can't seem to find a way. Any one has any ideas?