Do the switches carry over to different maps?

Hello,

I was wondering if I can use Switch 1 again in another map if I already used it on my first map. Or do I need to use another switch and give them names to avoid confusion?
Switches are global. If you turn on switch 1 on map 1, when you go to map 2, switch 1 is on. If you then turn it off while on map 2, and go back to map 1, it is also off on map 1.

Self switches are local to the map and event where you set them.

There is nothing that is local to just the map, but to all events on that map.

Yes, you ALWAYS need to give switches and variables names. You also need to check, if you add plugins, if they are using switches or variables, and go in and name those switches and variables, so you don't accidentally use the same ones that the plugins are using.
Woah! Okay, good I know this since I've onle used three switches so far... Gonna rename them ASAP.
My next question was about self switches, but you answerd that. Awesome.
A few more details:

Switches and Variables both belong to the entire game, and are shared between maps and events.

Switches and Variables can be accessed on all maps and events, and do not change unless an event or a plugin changes them.

Switches and Variables don't carry over to other savegames, unless you're using a plugin that does just that (e.g. an Achievement plugin, that ensures the "Achievement Unlocked" Switch remains turned ON even if you start a new game or load a different save).

Self-Switches are special Switches that only belong to one event. Each event can easily access their own Self-Switches, but in order to access Self-Switches from other events (or events on other maps), you need a plugin.

Technically, Switches and Variables work even if you don't name them. However, you should definitely name each and every single one. If you don't give them names, you won't know which Switch/Variable does what, or whether you're even using them. It might not matter in the beginning or for small projects, but as your project grows, you'll realize you can't possibly remember what Switch #792 is supposed to do when you've got over 5000 Switches to manage. Meanwhile, if you named a Switch "Aeris died", then you know exactly what the Switch's purpose is, no matter how many Switches you have.
Have you done some basic tutorials for the engine? There's nothing wrong with asking questions, but a lot of the questions you're asking are very basic things that would be covered by any good tutorial.

There's one built into RPG Maker, and there are also many video series you can follow along with on YouTube. Driftwood Gaming and Lvl Up Design have MZ tutorials, and there are also a good series of tutorials by Echo607 and SumRndmDde - they're for MV, but aside from a part of the map editor and anything about animations, all the rest of this stuff works the same.
Have you done some basic tutorials for the engine? There's nothing wrong with asking questions, but a lot of the questions you're asking are very basic things that would be covered by any good tutorial.

There's one built into RPG Maker, and there are also many video series you can follow along with on YouTube. Driftwood Gaming and Lvl Up Design have MZ tutorials, and there are also a good series of tutorials by Echo607 and SumRndmDde - they're for MV, but aside from a part of the map editor and anything about animations, all the rest of this stuff works the same.

I watched all of them almost. But watching videos doesn't do it for me.
I watched all of them almost. But watching videos doesn't do it for me.
this i fully understand. theres 3 primary methods of learning: audio, visual, tactile learners.
i can watch a video and copy/paste what i see, but i wont actually learn anything until im f'''in around with it doing little changes to see what does what exactly. tactile learner 100%.
main reason why i havent been able to wrap my head around javascripting yet, everything out there just throws a wall of information at you to read but never gets or instructs you to piece together commands to form a working operation. and to scared to try playing around with rpg.js file, i know totally just gonna break everything. i still save backups just to alter a simple formula in plugin parameters cus to scared gonna just brick the game.

schools really should start incorporating games into learning.
tactile learners retain more information about history from playing historically accurate FPS's then they will from any textbook or documentary.
same with science and a VR chem lab. let me poison 2k people and blow up a few dozen labs in VR and ill actually start remembering "dont mix this with this = death".
ask me to make a potato clock, no problem.
ask me to recall if alkaline is an acid or a base, ".....uhhhh..... yes both can be dangerous."
I watched all of them almost. But watching videos doesn't do it for me.
They are designed for you to be making the game along with them.

Original thread: https://forums.rpgmakerweb.com/threads/do-the-switches-carry-over-to-different-maps.136922/