Class Select Not Working ;_;

FIXED:

RPGMV is the fussiest game engine I have ever worked with. After realizing I put CCFinalF for the men as well, I made the appropriate fixes but still to no avail. In a desperate attempt, I copied the event page and pasted it at the end and now it works fine.

Eventually, I just split the event into two, and it's all good. I guess the engine got overloaded.

EDIT:

It seems during one of my many all-nighters, I accidentally replaced all the male variables with female variables. Will need to fix all 320, but afterwards I assume it will work out. I made a female at random and it worked out perfectly.
Tried fixing a few males and still not working...so there's that.

Hi all,

Running into a problem that probably has an easy but also complicated solution.

Here's the scenario. I put together a custom character creator for players to use. There are 640 combinations in all, each of which set a game variable to a number 1-640. In the first chapter of the game, players are able to choose their starting class. Depending on the variable, the character image changes to that same character, but wearing the clothes of the class they pick.

Now here is where things get problematic. This only works with the first option. All other options end up in faiure.

If you watch the video, it explains things better than I can.




Solution Theory:
I need to add an "else" to the branch, and then make all combinations underneath the condition proceeding it.

But shouldn't a conditional branch work regardless? If the "IF" isn't met, then the event moves onto the next conditional branch.
in theory the ifs should work just fine... since you assign each combination a unique variable value...
no need for else branch...

try checking the CCFinalM variable before you enter the ifs...
maybe you have incorrectly assign the CCFinalM variable....
or maybe you accidentally reset the CCFinalM variable...

hope this help.
in theory the ifs should work just fine... since you assign each combination a unique variable value...
no need for else branch...

try checking the CCFinalM variable before you enter the ifs...
maybe you have incorrectly assign the CCFinalM variable....
or maybe you accidentally reset the CCFinalM variable...

hope this help.

This won't make too much of a difference. All of the available combinations are in this event, so even if the variable for someone with these features is incorrect, it should still provide an outcome.


EDIT: It's always the dumbest mistakes that catch us off guard. Made a few edits but still a bust, so now it's a real bother.
This won't make too much of a difference. All of the available combinations are in this event, so even if the variable for someone with these features is incorrect, it should still provide an outcome.


EDIT: It's always the dumbest mistakes that catch us off guard. Made a few edits but still a bust, so now it's a real bother.
what i mean that before you enter the ifs... you print the variable value first to know does the variable is correct or not... you can use show text and write \v[yourvariableidhere] so it will show text that print the variable...

so you can check... does the ifs that faulty... or how you set the variable value when choosing the skin color etc that faulty...

hope this help...
what i mean that before you enter the ifs... you print the variable value first to know does the variable is correct or not... you can use show text and write \v[yourvariableidhere] so it will show text that print the variable...

so you can check... does the ifs that faulty... or how you set the variable value when choosing the skin color etc that faulty...

hope this help...

I found out that I never changed the CCFinalF to CCFinalM for the male section of the character creator.

After fixing that, however, the class select still didn't work. I copied the event page and pasted it at the end and now it works.

I honestly have no clue how to explain this.
I found out that I never changed the CCFinalF to CCFinalM for the male section of the character creator.

After fixing that, however, the class select still didn't work. I copied the event page and pasted it at the end and now it works.

I honestly have no clue how to explain this.
i thought you use one variable for female and male...

ex:
select male / female:
if male (value 1-400 depending on the combination)
if female (value 401-800 depending on combination)

so you just need to use the same ifs instead of having to have double ifs (one checking CCFinalF + one checking CCFinalM)...

which i think might be the problem with your event page earlier...

hope this help.

Original thread: https://forums.rpgmakerweb.com/threads/class-select-not-working-_.137233/