Page 1 of 1
Q: Order of moving units with GoTo at start of the turn
Posted: Fri Oct 26, 2018 1:27 pm
by Corbeau
Does anyone know what is the order in which units with GoTo orders are moved at the start of the turn? Is it random or it has some specific sequence?
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Fri Oct 26, 2018 2:28 pm
by cazfi
Order of players is random, so one does not get advantage by being player #1.
For a player, units are processed in order. This is usually the order in which the units have been acquired (built, bribed, captured). The client may proceed unit focus in the same order, as long as you don't yourself make some unit to w)ait, but I think there's cases where this is not true.
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Fri Oct 26, 2018 2:52 pm
by Corbeau
So, the order of players is random? Once a player is on, ALL his GoTo units move, and only after that it's another player's GoTo units turn?
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Thu Nov 08, 2018 10:05 am
by Corbeau
cazfi wrote:Order of players is random, so one does not get advantage by being player #1.
For a player, units are processed in order. This is usually the order in which the units have been acquired (built, bribed, captured). The client may proceed unit focus in the same order, as long as you don't yourself make some unit to w)ait, but I think there's cases where this is not true.
Ok, just checking, the order of
units is by order of acquiring? Not the ID? (usually both are the same, but I'm just checking).
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Thu Nov 08, 2018 12:16 pm
by cazfi
Corbeau wrote:cazfi wrote:Order of players is random, so one does not get advantage by being player #1.
For a player, units are processed in order. This is usually the order in which the units have been acquired (built, bribed, captured). The client may proceed unit focus in the same order, as long as you don't yourself make some unit to w)ait, but I think there's cases where this is not true.
Ok, just checking, the order of
units is by order of acquiring? Not the ID? (usually both are the same, but I'm just checking).
Yes, the order in which they are added to player's list of units (umh. this can actually be reverse order, haven't checked). This can be different from the order of IDs for example when one bribes enemy unit with lower ID.
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Thu Nov 08, 2018 12:17 pm
by Corbeau
Wait, it can be reverse order?
Re: Q: Order of moving units with GoTo at start of the turn
Posted: Thu Nov 08, 2018 2:11 pm
by cazfi
Corbeau wrote:Wait, it can be reverse order?
I'm not sure whether newly acquired units are added to the end or to the beginning of the list. Adding them to the beginning would probably be faster (no need to find end of the list).