Author Topic: Auto Location Name  (Read 1390 times)

0 Members and 1 Guest are viewing this topic.


  • Tier 3
  • *
  • Posts: 70
  • Current Mood: happy happy
Auto Location Name
« on: May 15, 2011, 12:29:14 PM »
I want when player enter the town or dungeon, so that show town name on up screen. But only, when player enter first part of town (first map). I using RPGXP.


  • ~True Remembrance~
  • Mod-Suspect
  • Tier 7
  • *
  • Posts: 2115
  • Gender: Male
  • :)
  • Current Mood: happy happy
Re: Auto Location Name
« Reply #1 on: May 16, 2011, 10:05:41 AM »
There are a few scripts that do that for you.

A good one is Moghunter's Map Name Pop-Up script. Everytime you step on a new map, the name is shown in the top right corner. However, if you enable Switch 15, no map name will be shown. In your situation: Switch 15 should be generally enabled. To show the map name only on the first map of a town or dungeon, disable Switch 15 in event that transfers you to the first map of a dungeon or town before you are transfered. After the transfer is finished, enable it again.

By the way: In line 21 of the script (WM_SWITCH_VIS_DISABLE = 15) you just have to change the 15 into any other number if you don't want Switch 15 to be the one controlling whether the map name pop-up should be enabled or disabled. (271 KB)

Open the project (play it if you want; just a short explanation). Open the script editor (F11) and copy the script "MOG - MPW Map_Name" into your project above "Main". Don't forget to copy the graphic file "Mpname.png" from the "Pictures" folder of the project into the Pictures folder of your project.
« Last Edit: May 16, 2011, 03:27:27 PM by Squall »