In the database, the weapon assignments for a squad follow a very complicated structure, but most squads have the same sort of pattern - the first n soldiers have the second weapon, usually a SAW, then the remaining soldiers have the first weapon, usually a standard rifle; the last m soldiers have the third weapon, usually a LAW.
It would be simple but extremely useful to make a helper method which automatically creates this assignment given n and m.
In the database, the weapon assignments for a squad follow a very complicated structure, but most squads have the same sort of pattern - the first
n
soldiers have the second weapon, usually a SAW, then the remaining soldiers have the first weapon, usually a standard rifle; the lastm
soldiers have the third weapon, usually a LAW.It would be simple but extremely useful to make a helper method which automatically creates this assignment given
n
andm
.