I tried *...
Is there a way to get a list of all switches on all maps regardless of names?
RPG Maker MZ SupportDo you mean Self Switches?
All of them if possible...
Can you please tell us what you want to do? I cant think of a scenario where you would need that.
Statistics? As it is only switches on a single map can be counted...
How are you counting all switches on a single map?
There is a Search tool in the toolbar that will let you search for any events that use a switch or variable, but I think you have to say what switch or variable you are looking for.
Given the confusion around your last post like this, please elaborate on why you want to know. Are you just trying to keep track of what you've used so you don't accidentally use the same switch/variable for two different things?
I will name them as I use them, so it's obvious what they've been used for (which will usually make it obvious where they've been used as well).
There is a Search tool in the toolbar that will let you search for any events that use a switch or variable, but I think you have to say what switch or variable you are looking for.
Given the confusion around your last post like this, please elaborate on why you want to know. Are you just trying to keep track of what you've used so you don't accidentally use the same switch/variable for two different things?
I will name them as I use them, so it's obvious what they've been used for (which will usually make it obvious where they've been used as well).
Well, when it comes to using the same one that is easy to see by searching for the specific ones... switches on a single map have numbers on the side, but they can mislead if some were deleted... but no, I'm more interested in an overall count. As an aside, is there a way to see where items are given/taken in the game? Which event, and so? Also, is there a way to verify if/where there are teleports to some map?
not in the engine itself
but you can use a multifile text editor (for example textpad) to open all json files for the maps and search through them for the codes that stand for specific event commands.
or inother words: it is much easier to correctly plan and organise your game and name all your switches correctly (like shaz suggested above), because then you can simply open the control switch command list and see there.
and if you name your events correctly, you can use the event list in the MZ editor to see what is on a map as well...
but you can use a multifile text editor (for example textpad) to open all json files for the maps and search through them for the codes that stand for specific event commands.
or inother words: it is much easier to correctly plan and organise your game and name all your switches correctly (like shaz suggested above), because then you can simply open the control switch command list and see there.
and if you name your events correctly, you can use the event list in the MZ editor to see what is on a map as well...
But I still won't be able to count all of them, and to find the items or teleports I'd need to open each map individually...
And so I'm trying that textpad, but it keeps saying that the word isn't found despite highlighting it?
And so I'm trying that textpad, but it keeps saying that the word isn't found despite highlighting it?
Switches are global, they don't depend on Maps. This thread becomes more confusing for me now.
Sure... it would actually be interesting if one could either count their usages, or just generally.
If you want to count how often a given switch is activated or referenced, you could just create a variable that goes up by 1 each time that happens.
@Aerosys the map doesn't contain the switch itself, but the map events may contain a control switch command that references it, and that is what you have to search for
I can't do that for every switch I ever have, though...
Say, if you can actually search all of them. What kind of output do you expect? A file text? or console log? or else?
Whichever is more convenient? Why, are you thinking of writing a script or such?
I simply ask because your requirement is not clear and why people are confused about your request. You can not explain it in the detail. You avoided the question by answering "whichever is more convenient". This is you who needs it.
I'd just like a simple total, regardless of where it's output...
he wasn't just asking where to output, but also what to output. Because your original question pointed at more than a simple statistic number.
as with a lot of your previous posts this shows that you cannot organize your ideas. But it is absolutely required for you to organize your thought if you ever want anything requested from someone else, no matter if it is help, a plugin or a sprite or whatever.
which is why we told you before that you need to learn how to organize yourself - and when I linked you to some books to learn that organisation skill (doesn't matter if it is learned for writing or for something else) you simply refused and claimed you know how to write.
Perhaps you know how to write for yourself, but you have absolutely no idea on how to write for someone else or to write summaries of your ideas and so on. And until you learn that, no one can help you with anything.
and you can't learn that on your own, you need to purchased books on organisation and then work through them.
I am still confused.
Are you just asking how to see what switches you have used and what are still available, because you didn't give them names as you used them? The solution is to give them names as you use them.
Or are you wanting to know where you've used a certain switch? The solution is the Search tool in the toolbar, which I've already said.
I can't imagine any reason why you would need a list of all maps/events for all switches. You're only going to be checking them one at a time.
If none of the replies above help, then you are going to have to be more descriptive about what you need and why. You are allowed, and encouraged, to write more than a single sentence.
Are you just asking how to see what switches you have used and what are still available, because you didn't give them names as you used them? The solution is to give them names as you use them.
Or are you wanting to know where you've used a certain switch? The solution is the Search tool in the toolbar, which I've already said.
I can't imagine any reason why you would need a list of all maps/events for all switches. You're only going to be checking them one at a time.
If none of the replies above help, then you are going to have to be more descriptive about what you need and why. You are allowed, and encouraged, to write more than a single sentence.
Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-get-a-list-of-all-switches-on-all-maps-regardless-of-names.142895/