Cannot move after control switch

Hi,

I created an Intro event which works fine is is run only once (self switch) and the PC is able to move afterwards.
Unfortunately, once I added a Control Switch state change to it, the PC isn't able to move, turn or open the menu afterwards.
I've made a new project for testing only including this Intro event with no other events of any kind. Map is movable when deactivating the event, so no tileset issue.

1692694101087.png
1692694174010.png


When I delete the line "Control Switches : #0001 Unpaused = ON", the PC is able to move again.
Can you please help me dissolve my confusion?

Best regards,
Where else are you using the Unpaused switch?
Thank you for your fast response!
Where else are you using the Unpaused switch?
Currently, I'm debugging in a new project with only this event and aren't using the Unpaused switch at all.
In the main project the switch is used for "pausing" NPC movement until the scrolling text has ended.
You absolutely sure there are no other events present? I've never seen this effect before. The switch being on shouldn't have an effect on anything unless it's triggering some autorun event elsewhere.
Hi,

I created an Intro event which works fine is is run only once (self switch) and the PC is able to move afterwards.
Unfortunately, once I added a Control Switch state change to it, the PC isn't able to move, turn or open the menu afterwards.
I've made a new project for testing only including this Intro event with no other events of any kind. Map is movable when deactivating the event, so no tileset issue.

View attachment 274119View attachment 274121

When I delete the line "Control Switches : #0001 Unpaused = ON", the PC is able to move again.
Can you please help me dissolve my confusion?

Best regards,
i would just make a variable instead of the switches. just make it set the variable to 1, then next page do the conditions variable >_1
Sounds like there's another autorun event blocking you from giving input.
Like slimmmeiske2 suggested, what is that upause switch doing? Triggering another event? Is that one set to autorun and not ended in some way?
i would just make a variable instead of the switches. just make it set the variable to 1, then next page do the conditions variable >_1
Thank you. This is a good workaround I've been using before. So, maybe it's easiest to return to this solution 🙂
i would just make a variable instead of the switches. just make it set the variable to 1, then next page do the conditions variable >_1
You can, but switches exist for a reason, and there are good times to use those over a variable.

Not to mention telling OP this isn't solving the problem at hand, and it would be wise to get to the bottom of it in case it crops up again elsewhere.
@Sword_of_Dusk @Plueschkatze I'm working on the first fork of my project, so It's basically a new project with just 1 map with this one being the only event.

Edit: Okay, nevermind .. There was an unnamed common event set to autorun using the first switch in this fork as well..
Thank you all for the reminder to double check and sorry for my stupidity not to check the unnamed common events :elswt:
Thank you all for the reminder to double check and sorry for my stupidity not to check the unnamed common events
It's not stupidity, friend. It's only a simple mistake, and one any of us could make. Just remember that a switch being on doesn't mean anything unless you make it mean something. So when something odd is going on with one, you've usually used it in some forgotten event somewhere.
Also, you may wanna consider using Yanfly's stop map movement plugin to stop NPCs from moving during dialogues and events. It's much easier than using a switch.
In the main project the switch is used for "pausing" NPC movement until the scrolling text has ended.
Just because no one else pointed it out - it's in the wrong place for that. You'd want to turn the switch on at the beginning of the event, then turn it back off after the show text. This event turns the pause on after the text is done showing and never turns it off.

I understand you're saying this is a test setup, but the same logical error must be present in the first place, or the autorun common event wouldn't be preventing your movement (because the switch would be off).

i would just make a variable instead of the switches. just make it set the variable to 1, then next page do the conditions variable >_1
That doesn't make much sense. If you're only using two states for the variable (0 and 1), that's literally what a switch is. All this would do is unnecessarily take up one of your limited game variables; it would not make the event function any differently.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-move-after-control-switch.160508/