Hey guys. Here's a small snippet from a script I'm using that calls the map's display name and writes it on the screen.
self.contents.draw_text(x, y, 125, 25, @mapname.to_s, 0)
Now, I don't want it do to this. I want it to use the map name in the database/map tree (so just the actual map name itself). Anyone know what I need to change in the string to make that happen?
Where are you using that line?
Find this line:
header[:map_name] = $game_map.display_nameand change it to:
header[:map_name] = $dataMapInfos[$gameMap._mapId].namePlease note that if there's anything else on that script that uses the display name, it will also change to the map name with this. Let me know if that's a problem.
Hey, gave it a try and it's suddenly disabled all forms of saving entirely. I can access the save menu, but I'm simply getting the buzzer/error sound whenever I try to save. I tried starting a fresh game and then tried to save, but it still yielded the same result.
That happens when an error occurs while saving. There should be something on the console, can you tell me what it is
I'm not sure what you mean by the console?
Press F8 while play testing. It will open another window with some information. There should be an error message printed there.
I've never heard of that before! F8 does nothing for me at all, are you sure that feature wasn't introduced in MV?
Haha, no worries! Thanks for at least trying to help so far!
Ah, that worked brilliantly! Thanks a bunch!