Way to make someone delete your game 😉
for i in 1..4
if FileTest.exist?("Save"+i.to_s+".rvdata")
File.delete("Save"+i.to_s+".rvdata")
end
end
That would delete ALL save files. Not just the "save data" for the current game. And what if the current game was in save file 10?
Rpg Maker VX have only 4 save slot no ? i'm using vx ace so i don't really remember but it what i saw
just return to titlescreen after calling that script you are forced to start a new game
else if it was only for the current game just need to clear just start a new game over the one already existing and it gonna set everything back to default
just use the script in the titlescreen create_game_objects
$game_temp = Game_Temp.new$game_message = Game_Message.new$game_system = Game_System.new$game_switches = Game_Switches.new$game_variables = Game_Variables.new$game_self_switches = Game_SelfSwitches.new$game_actors = Game_Actors.new$game_party = Game_Party.new$game_troop = Game_Troop.new$game_party.setup_starting_members()just call it from event and it should erase everything (except map) and it put back initial party members in the party
It may only have 4 (I don't have it with me now), but if that's the case, there would have very quickly been scripts written to overcome that limitation.
I think 16's the default, it only shows 4 on the screen at a time though.
I have more than 30 save slots with the help of Neo Save System VI by Wortana.
I want all existing save data to be deleted when I call the script. 😉
for i in 1..30 if FileTest.exist?("Save"+i.to_s+".rvdata") File.delete("Save"+i.to_s+".rvdata") endendthis sould work if you don't have changed the config "SAVE_FILE_NAME" or "SAVE_PATH" of Neo Save Script