MegalodonShark
Chieftain
In a mod I'm making, I have a worker unit called a "nanite" which is supposed to remain stationary on the plot it's placed, and perpetually improve it once set to automate.
That's the idea anyway.
I successfully made the unit DOMAIN_IMMOBILE and gave it the ability to paradrop, which considering what I'm up against now is pretty trivial. While I succeeded in that, if I automate the nanite worker, it just sits on the tile and does nothing. It'll improve the plot if I tell it to do something specific, of course, but otherwise it does nothing.
Could someone familiar with the worker AI code tell me where I should look in the SDK for what to change, or what might be going on? I'm guessing it's getting "stuck" because it's trying to go to other tiles to improve and can't, but I'm not certain. Any pointers would be appreciated
That's the idea anyway.
I successfully made the unit DOMAIN_IMMOBILE and gave it the ability to paradrop, which considering what I'm up against now is pretty trivial. While I succeeded in that, if I automate the nanite worker, it just sits on the tile and does nothing. It'll improve the plot if I tell it to do something specific, of course, but otherwise it does nothing.
Could someone familiar with the worker AI code tell me where I should look in the SDK for what to change, or what might be going on? I'm guessing it's getting "stuck" because it's trying to go to other tiles to improve and can't, but I'm not certain. Any pointers would be appreciated
