All variables correct but wrong character appears?

I'm slamming my head against the desk trying to figure this one out.
What on earth is going on here?

I use events that show characters based on the IDs of the actors in your party. For example these two characters:
1657386214978.png


Before heading into an area where one of these events plays out, I run the following:
1657386296755.png


I have three events for the party members with every possible member for each slot, these three as an example:
1657386358972.png
1657386387371.png

1657386412388.png


Everything here looks perfect, no accidental wrong variables.
1657386531246.png

1657386551356.png


But in game, this is what happens, I end up with duplicate characters somehow:
1657386579255.png



What on earth is going on here? Am I missing something silly?
That's because the number being "Greater than". Meaning... if PartySlot2ID is greater than 1, for example, and your Party Member is Actor 8, it'll display that Party Member 1.

In this case, you're better off going with either Actor, Switch, or setting it up via Auto Run where you change the images in Condition Switch. Had to do this for The Guild of Jasperaian, my game.
That's because the number being "Greater than". Meaning... if PartySlot2ID is greater than 1, for example, and your Party Member is Actor 8, it'll display that Party Member 1.

In this case, you're better off going with either Actor, Switch, or setting it up via Auto Run where you change the images in Condition Switch. Had to do this for The Guild of Jasperaian, my game.
OMG I knew I was overlooking something silly. Thanks for that.

Guess I'll make a new common event with some switches to make life simpler.
@JacSkulls @MGGEDev

no, the simplest solution is to get the pages in the correct order, due to the more important page priority rules.

first page has to be for actor ID1, set to variable >=1, second page for actor id 2, variable >=2, third page for actor id 3 and so on.

doing it this way will work and is the reason why the condition is >= instead of =
the page with the highest number has the highest priority, and with that order each page will work only on equal because if the variable were higher then the higher priority page would become active instead.
@JacSkulls @MGGEDev

no, the simplest solution is to get the pages in the correct order, due to the more important page priority rules.

first page has to be for actor ID1, set to variable >=1, second page for actor id 2, variable >=2, third page for actor id 3 and so on.

doing it this way will work and is the reason why the condition is >= instead of =
the page with the highest number has the highest priority, and with that order each page will work only on equal because if the variable were higher then the higher priority page would become active instead.

Now that's something I never knew. I thought pages were just that, pages. Had no idea it also comes with a Priority check. Thanks for the info.
@JacSkulls @MGGEDev

no, the simplest solution is to get the pages in the correct order, due to the more important page priority rules.

first page has to be for actor ID1, set to variable >=1, second page for actor id 2, variable >=2, third page for actor id 3 and so on.

doing it this way will work and is the reason why the condition is >= instead of =
the page with the highest number has the highest priority, and with that order each page will work only on equal because if the variable were higher then the higher priority page would become active instead.
Can confirm this worked, very useful information. Thank you!

The issue was with those two particular characters simply due to their page order in the events as you suggested.

Original thread: https://forums.rpgmakerweb.com/threads/all-variables-correct-but-wrong-character-appears.149314/