Im trying to create a change party system through events. The system includes 3 characters, each with their own abilities(One can move heavier rocks, one can read some books, ect). The main idea of this system is to have the 2 other characters walking behind one, similar to a cartepillar system. When you press Z, you will change to character behind you( If the characters stands in one line, you will change to the one behind you, and the old character will go to the back of the line). If you press Z again, you will change to the next character, and so on.
However, I don't get it to work. When I press the Z button, it's switches to the second character, but instantly switches back the first character again. Sometimes, it switches to the third character instead of the second.
I don't know if it's the Switches Im using that bugging out eachother. I tried with Variables, but it didn't work either. So I wonder how I shoud event this, because Im stuck.
Sorry if it sounds confusing, but it's hard to explain with my bad english.