- Joined
- Jan 9, 2005
- Messages
- 2,126
Is there some way to detect when a worker drops off lumber at a Town Hall or Mill? I'm trying to create a dynamically upgradeable lumber harvest ability (without having to create a custom one entirely with code), but it seems the ability doesn't respond to SetAbilityLevel. I tried swapping the ability for more powerful version of itself, but doing so removed the current amount of lumber already harvested in the worker. This is a problem, especially since the worker is meant to carry around values of up to 50 lumber at a time. I tried adding the stronger ability first, then removing the lesser one, but the lumber amount still was reset. So now, I'm trying to swap out the abilities after the lumber has been dropped off.
Alternatively, it would be helpful if I can detect when a tree was stuck by a worker.
Alternatively, it would be helpful if I can detect when a tree was stuck by a worker.