Re: Reassigning units
Units don't have a "number" - they are numbered in the sequence they appear in the list of 500 units. Formations are also listed in order of the master list. The list is basically an ordinary C++ array.
Sometimes there may also be a gap in the list - due to removal of a formation, or deletion of units. The insertion of a new unit into a vacant slot way up the list sometimes will do odd things to numbering as well.
It is structural with the way the original SSI code was written.
Also - the formation command unit is not always the 0th unit, in a campaign, if the command unit was killed and another of the formation took over.
Cheers
Andy
|