When you attempt to train a unit if there is not enough food, the game won't let you. However, if you queued unit training, when you run out of food supply, queue is preserved (and frozen at zero progress of training of the next unit).
How to pause unit training similar to the above?
Can this training queue be accessed?
Is it possible to override the out of food train block and still add them to queue, paused?
Is it possible to freeze at some other progress percent, e.g. at 99%?
I'm currently using EVENT_PLAYER_UNIT_TRAIN_START and _FINISH
but the _START event is triggered not when you issue the order (clicking on the icon), but when the order is accepted (after checking if there is enough food)
Thanks
How to pause unit training similar to the above?
Can this training queue be accessed?
Is it possible to override the out of food train block and still add them to queue, paused?
Is it possible to freeze at some other progress percent, e.g. at 99%?
I'm currently using EVENT_PLAYER_UNIT_TRAIN_START and _FINISH
but the _START event is triggered not when you issue the order (clicking on the icon), but when the order is accepted (after checking if there is enough food)
Thanks