Switch not turning on
RPG Maker VXAce SupportPut self switch A after that switch 2.
I tried that and it still didn't work.
I've moved this thread to Support → RPG Maker VX Ace. Please be sure to post your threads in the correct forum next time. Thank you.
Your self switch is changing the page before the control switch can trigger so it istn even there as far as the game is concerned.
Try moving the self switch to after the control switch
Try moving the self switch to after the control switch
If self switch A triggering was going to cause switch 2 to NOT trigger, then the dialogue between the two commands would also not happen.
Please show us what is on the second page, and what makes you think switch 2 is not being turned on? Have you actually verified this, by debug (F9)? Or is it just that something else you're expecting to happen due to switch 2 being on is not happening, and you're assuming the problem is that the switch isn't being turned on?
Please show us what is on the second page, and what makes you think switch 2 is not being turned on? Have you actually verified this, by debug (F9)? Or is it just that something else you're expecting to happen due to switch 2 being on is not happening, and you're assuming the problem is that the switch isn't being turned on?
Control switch commands will always work when executed unless a script broke the engine.
Which means either the command is not executed, or something else turns the switch back after that command.
What does that script control? how do you know it's not turned ON? Please also post a screenshot of where that switch is used.
Which means either the command is not executed, or something else turns the switch back after that command.
What does that script control? how do you know it's not turned ON? Please also post a screenshot of where that switch is used.
Can we please see what's on tab 2 of that event?
Is there anything that could be turning the switch off again straight away? A common event set to parallel process, another event on that map set to parallel process, a script that uses switch 2 for something as a default, that you haven't configured to use a different switch?
Is there anything that could be turning the switch off again straight away? A common event set to parallel process, another event on that map set to parallel process, a script that uses switch 2 for something as a default, that you haven't configured to use a different switch?
I am thinking you have something else that's turning the switch off again. What scripts have you added to your game? Please provide links to them.
Or, if it's easier, you could just zip up your whole project folder and load it up online somewhere and we can take a look.
If you've moved the self switch to after the point where the switch is turned on, and it's still not being turned on, then something else is overriding it.
Or, if it's easier, you could just zip up your whole project folder and load it up online somewhere and we can take a look.
If you've moved the self switch to after the point where the switch is turned on, and it's still not being turned on, then something else is overriding it.
Actually, I tried using a different switch, and then it worked, so it probably is a problem with something else.
Yes, it is probably an issue with a script that is turning off your switch because you haven't configured it. This is the third time I've said this and asked you what scripts you're using. You have yet to answer.
Using a different switch and getting a good result might solve THIS problem, but it's not going to stop others from happening down the track. You need to understand WHY it isn't working, so you can make sure you don't continue to make the same mistake.
Using a different switch and getting a good result might solve THIS problem, but it's not going to stop others from happening down the track. You need to understand WHY it isn't working, so you can make sure you don't continue to make the same mistake.
Original thread: https://forums.rpgmakerweb.com/threads/switch-not-turning-on.46124/


