Script Request - Variables Specific Save File
#2
You want to save some data, and then load that same data into ALL saved games overwriting the ten or so variables with the data. Sort of like a new game plus sort of thing, correct?

This isn't so hard to do. in Scene_Save you'd define another file, in addition to the selected save file. Then you'd copy your ten variables into an object (probably an array) and then Marshal.dump(characters_unlocked, another_file)

in Scene_Load, you'd load everything as normal but then read the array from your completion.rxdata using Marshal.load(another_file) and overwrite the variables with the saved data (ex: $game_variables[1] = characters_unlocked[1] )
Reply


Messages In This Thread
RE: Script Request - Variables Specific Save File - by MechanicalPen - 04-27-2014, 07:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Is there a script to make train actors face the same way as the player? Ace_V 12 901 04-07-2026, 10:01 AM
Last Post: Ace_V
   Lead Actor Swapper script error Ace_V 25 13,990 09-07-2025, 01:22 PM
Last Post: DerVVulfman
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 3 5,363 11-22-2024, 07:02 PM
Last Post: JayRay
   Script compatibility help Lord Vectra 3 9,571 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 29,816 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   Map name as save file name Whisper 9 18,318 05-01-2020, 05:35 PM
Last Post: Whisper
   "Wait" in the script Whisper 13 27,871 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 27,795 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 12,651 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 16,778 06-11-2017, 04:43 PM
Last Post: DerVVulfman



Users browsing this thread: 1 Guest(s)