Hello and thanks for looking! I need a really simple (hopefully) script. Say you have a game with two characters, lets call them X and Y. I need a script that changes their formation with the press of a keyboard button (Q). Hopefully these images are clear enough:
X is in front. The player presses the Q button on their keyboard.
Now Y is in front!
If the player presses Q again X returns to the front.
In other words, exactly what the change position in the default menu does but with the press of a button. The party will never have more than two characters.
X is in front. The player presses the Q button on their keyboard.
Now Y is in front!
If the player presses Q again X returns to the front.
In other words, exactly what the change position in the default menu does but with the press of a button. The party will never have more than two characters.

