I understand the concept of switches and my game uses a lot of them and they all work, except for one instance which I am completely baffled by. This might be a bit long but let me try to make it as simple as possible.
My game allows you to choose your class at the start of the game, then very early on you can choose a second class (a second party member), but you are not able to choose the same class you started with. To accomplish this, in my character select screen, when the player chooses "Fighter" for example, a switch called FighterSelect gets turned to ON. If they choose "Scavenger", ScavengerSelect get turns on, and so on...
During the second class select which is via an NPC, a conditional branch checks to see if the switches are on, and if so, will create options for every class except for chosen class at the beginning (when the switch is on). So for instance, it will check If FighterSelect is ON, then show all the classes except for fighter. If ScavengerSelect is ON, show all classes except Scavenger.
The PROBLEM I'm running into is that FighterSelect always seems to be on. I made an early event check to display text when I run over a space in the very beginning, that if FighterSelect is ON, to display some text. It's on even when I choose a different class. When I make that event turn off FighterSelect, then make an event to display text right on the next walkable area if the switch is on, it doesn't display the text which tells me the switch turned off. But when I then go to the NPC with the ScavengerSelect ON (which should display all classes except Scavenger), it doesn't even trigger at all. If I make that event that turns FighterSelect OFF also make ScavengerSelect turn ON, it works fine. So something in the intro isn't properly turning the switches on and off...
The only thing to note is that the class selects are set up during an Autorun event if that matters. I can tell you guys more info if you need it, or am I missing something easy? Appreciate the help....
My game allows you to choose your class at the start of the game, then very early on you can choose a second class (a second party member), but you are not able to choose the same class you started with. To accomplish this, in my character select screen, when the player chooses "Fighter" for example, a switch called FighterSelect gets turned to ON. If they choose "Scavenger", ScavengerSelect get turns on, and so on...
During the second class select which is via an NPC, a conditional branch checks to see if the switches are on, and if so, will create options for every class except for chosen class at the beginning (when the switch is on). So for instance, it will check If FighterSelect is ON, then show all the classes except for fighter. If ScavengerSelect is ON, show all classes except Scavenger.
The PROBLEM I'm running into is that FighterSelect always seems to be on. I made an early event check to display text when I run over a space in the very beginning, that if FighterSelect is ON, to display some text. It's on even when I choose a different class. When I make that event turn off FighterSelect, then make an event to display text right on the next walkable area if the switch is on, it doesn't display the text which tells me the switch turned off. But when I then go to the NPC with the ScavengerSelect ON (which should display all classes except Scavenger), it doesn't even trigger at all. If I make that event that turns FighterSelect OFF also make ScavengerSelect turn ON, it works fine. So something in the intro isn't properly turning the switches on and off...
The only thing to note is that the class selects are set up during an Autorun event if that matters. I can tell you guys more info if you need it, or am I missing something easy? Appreciate the help....