Map name as save file name
#6
If you're talking about the load game scene the default game or the projects that still use a very similar system, it shouldn't work. At the moment you try to load the data to display it, $game_map as a global variable doesn't. Probably that happens because the game usually creates it AFTER you have picked a saved game data file.

How do you fix it?

Create it yourself. Add the line

$game_map ||= Game_Map.new

Where do you place it?

It could be either in Scene_Title if you use it or in the initialize method of Window_SaveFile.
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9

Maranatha!

The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.

[Image: SP1-Scripter.png]
[Image: SP1-Writer.png]
[Image: SP1-Poet.png]
[Image: SP1-PixelArtist.png]
[Image: SP1-Reporter.png]

My Original Stories (available in English and Spanish)

List of Compiled Binary Executables I have published...
HiddenChest & Roole

Give me a free copy of your completed game if you include at least 3 of my scripts! Laughing + Tongue sticking out

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Reply }


Messages In This Thread
Map name as save file name - by Whisper - 04-29-2020, 09:31 PM
RE: Map name as save file name - by DerVVulfman - 04-30-2020, 03:36 AM
RE: Map name as save file name - by kyonides - 04-30-2020, 04:00 AM
RE: Map name as save file name - by DerVVulfman - 04-30-2020, 04:11 AM
RE: Map name as save file name - by Whisper - 04-30-2020, 05:17 PM
RE: Map name as save file name - by kyonides - 04-30-2020, 08:56 PM
RE: Map name as save file name - by Whisper - 04-30-2020, 10:11 PM
RE: Map name as save file name - by kyonides - 05-01-2020, 12:59 AM
RE: Map name as save file name - by DerVVulfman - 05-01-2020, 03:57 AM
RE: Map name as save file name - by Whisper - 05-01-2020, 05:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Weird error when using a custom save script. Steel Beast 6Beets 8 11,425 06-27-2015, 05:54 PM
Last Post: Steel Beast 6Beets
   Custom Save/Load screen Raou 2 7,558 04-01-2015, 08:18 PM
Last Post: Raou
   Script Request - Variables Specific Save File JayRay 2 5,111 04-28-2014, 05:15 AM
Last Post: JayRay
   Checking if a file exists without knowing the extension? PK8 1 5,055 05-29-2011, 10:13 AM
Last Post: MGC
   Save Screen Screenshot Yin 2 6,207 07-05-2010, 06:31 PM
Last Post: Yin
   Can I execute a txt file from a script? deValdr 8 10,983 04-18-2010, 07:34 PM
Last Post: deValdr
   Help With Law's Save System Ryu-ka 0 3,815 04-06-2010, 06:37 PM
Last Post: Ryu-ka
   Need advice on best/easiest save setup rcg916 3 6,258 11-08-2009, 06:24 AM
Last Post: DerVVulfman
   How can I save a map? Charlie Fleed 3 6,703 07-08-2009, 09:55 PM
Last Post: dacloudster
   Forced Save? Yin 9 13,928 04-18-2009, 08:41 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)