CMD.REMOVE question
Posted: 27 Jun 2009, 23:42
Let's say I have a builder who is building something, with several other build orders queued up, and I wish to remove one of the later orders from within my widget. I can do so with Spring.GiveOrderToUnit(unitID, CMD.REMOVE, { cmd.tag }, {} ). However, the builder will stop building then start again each time I do so. Some units take a bit of time to store and redeploy their nanolathes, so this can really add to the build time if remove several orders in rapid succession. Any way I can remove orders without using CMD.REMOVE?
(A short time later...)
And to answer my own question, it's simply the matter of giving the unit the same build order again with Spring.GiveOrderToUnit(unitID, cmd.id, { cmd.params }, { "shift" }).
(A short time later...)
And to answer my own question, it's simply the matter of giving the unit the same build order again with Spring.GiveOrderToUnit(unitID, cmd.id, { cmd.params }, { "shift" }).