crazy switches, MV

Hello, how are you doing?

I have been trying to develop my first project in the mv, since I acquired it a couple of months ago on steam, and in the midst of the tasks of learning and putting into practice and all that, I have come across something that has been making me gray hair. green hehe.

You see, I happen to put some switches for an actor to leave the party and hang around on the map until I recruit him again, but I leave those switches off until I recruit said actor. So it should be...

Well no, starting to test, the main actor arrives on the map as night falls and boom! The event appears out of nowhere with the npc on the map without having passed the due recruitment process, which is the one that should turn on those switches so that he is there...

The worst thing is that sometimes even when I have the second actor already recruited, out of nowhere the npc appears on the map without having left actor 2 there.

I've tried keeping switches from common events and from an event on the map in parallel process mode, at first it seems to work, but after a while it comes back.

I do not know what to do. somebody could help me?
Welcome! It's next to impossible to give any advice just from your descriptions. Please post screenshots of the events.

The most logical, likely thing is you are accidentally using that switch someplace and not realizing it. You can use the Event Searcher in MV's toolbar to search for all occasions of that switch.

However, that only works with map events and event commands, not in common events or if you typed any script calls manually. So you'd need to search for it there and also visually review all common events.
Additionally, that is the reason why everyone tells new users to always configure their plugins completely when adding them, and never to ignore a configuration you didn't understand.

Because a lot of the more complex plugins redirect switches and variables for their own control, and you need to make sure that those plugins do not use switches or variables that you already used elsewhere.

Original thread: https://forums.rpgmakerweb.com/threads/crazy-switches-mv.157747/