Page 1 of 1

defines.command.standby

Posted: Thu Sep 14, 2017 2:31 am
by withers
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)

Re: defines.command.standby

Posted: Fri Jun 22, 2018 1:16 pm
by Bilka
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.