Map Numbers

Hello RPG Makers!

I am currently trying to make a game (obvious), and was wondering how to find out the numbers of the maps.

I have already renamed all of the maps in my game, even the ones used in the creator. But I can't seems to figure out how to recover those map numbers!

All help is appreciated!

The reason for this topic is that I am creating an event that introduces a new party member, and i wanted to activate a self switch for a different event. The script required for this is as follows:

$game_self_switches[[(map number), (event number), '(self switch)']] = true

The self switch is supposed to change the sprite on the event for the new party member.

I know some might say "just use a normal switch!"

But that never really works out for me and nothing ever happens when i try to use one. So using switches is off the list unless you know some game maker magic and know how to help with this.
Click the map on the editor, press space and the map properties will show and the map number is there.

I know some might say "just use a normal switch!"


But that never really works out for me and nothing ever happens when i try to use one. So using switches is off the list unless you know some game maker magic and know how to help with this.
We won't. Why? Because we don't even know what you're trying to do.
One way is to make a quick event - transfer to the map. The map number appears in the event.


(lol it is at the top of the properties page as well.)
Thanks for the help! 

Click the map on the editor, press space and the map properties will show and the map number is there.


We won't. Why? Because we don't even know what you're trying to do.
I said it in the original post...

You obviously didn't read the whole thing
When you are in the editor, the current map number shows in the lower right corner of the screen.


If you want to change the self switch of an event on the current map, you don't even need to put in the map number - you can just use $game_map.map_id


If you do a search for $game_self_switches you can see some examples of using a script call to manipulate other events on the current map, events on other maps, and even "the current event".
I know some might say "just use a normal switch!"


But that never really works out for me and nothing ever happens when i try to use one.
The only difference between general switches and self-switches is that the self-switches are event based (every event has its own self-switches) and the other switches are project based (no matter which event controls them, all events in the entire game project react to that switch).
Which basically means that every function you want to do with a general switch, you need a new switch for - but if several events should react to something, then you can have them all react to that single general switch.
Thank you everyone for the help!

A mod or admin can now close this, because the problem has been solved.    🙂
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/map-numbers.42213/