In my game, characters pick skills using a battle menu where all the skills are listed by Type ID order. This order is important because I want the player to see all skills at the same time, but I want skills to be grouped by type.
Now, I have assigned shortcuts to the battle menu, and the player can use keys 1 through 9 to use skills.
All of this works well... until a character learns a skill and forgets another (in my game, every time you learn a skill, you forget a weaker one). So I tried to set up ''Default Auto Arrange Slots'' for keys 1 through 9, but I'm having an issue where skills aren't listed the same way in the battle menu and in the shortcut assignments, after learning and forgetting a skill.
For example: a character knows 6 skills, the first three skills (let's name them A, B and C) are of type 1, and the last three (D, E, F) are of type 2. Now let's say the skills are initially in this order:
A - B - C - D - E - F
So they're bound to keys 1 through 6 in the same order. So far, everything works correctly when playing the game.
Let's say the character forgets skill B and learns skill G, that's also a Type 1 skill (so it has to be close to A and C). Now the skill will be ordered in the battle menu like this:
A - C - G - D - E - F
However, they'll be bound to keys 1 - 3 - 2 - 4 - 5 - 6. The reason is (I think) C kept its key, and G took B's key.
And obviously, this is completely counter intuitive for the player.
Is there a way to make the skill order and their shortcuts match while keeping the Type ID order?
Note: a character doesn't necessarily has 3 skills of Type 1 and 3 skills of Type 2. So I can't set up 2 differents Auto Arrange Slots for keys 1 - 3 and for keys 4 - 6, since it can vary from one character to another.