Can we have a way tell units to do nothing and wait until given another command?
I understand we can use entity.active = false to turn them off, but it seems that whenever a unit has nothing to do, it defaults into "wander" mode. I'd like to be able to send a unit to a given destination, and then just wait there for the next command. (not start wandering around)
defines.command.standby
Re: defines.command.standby
This was added for 0.17:
Added "stop" AI command, which tells the unit to just stop moving where it is. Takes a "ticks_to_wait" parameter, after which it returns to normal.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.