These instructions will be used in coordination with the instruction GetArmyStrength(hero, creature) in order to reorganize the position of the different troops in the army of an AI hero for a better combat effectiveness (on the adventure map so that the human player can know, with a right click, the position of AI hero's troops before engaging the combat).
The GrantArmy(hero, creature, number) function puts the troops in the first empty slot, but does not allow to position the troop in a specific slot.
For example, it is not possible to add the troop to the fifth slot if the hero has only one troop, the troop will be added to the second slot.