RMMV Is there any possible way to keep an variable stored even closing the game?

CardeMaker

Just a creative guy
Veteran
Joined
Aug 13, 2019
Messages
98
Reaction score
22
First Language
Portuguese
Primarily Uses
RMMV
I don't know at all but i think that for this working i'll need somehow an text file that stores the variable value, i didn't find anything about it externally, but i want to know if there's any plugin/script call that can make it, it is for my custom menu, but i was thinking about and you can do really creepy games, that pretends to be normal but then some npc says something that the player did, and thinked that restarting the game and the save file would erase it, cool idea, please let me know if there's some possible way to do it.
 

JohnDoeNews

Steam mod (MV/MZ)
Veteran
Joined
Apr 25, 2017
Messages
1,211
Reaction score
937
First Language
Dutch
Primarily Uses
RMMV
It is possible if you know Javascript well enough. I can't tell you how, though.

But you can get the result you try to create using a new game+ plugin. This well restart the game, but keep some on the switches and variables as they are before restarting.

Yanfly has a plugin for this, but I know there are more.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,902
Reaction score
2,963
First Language
EN
Primarily Uses
RMMZ
This kind of thing?
 

CardeMaker

Just a creative guy
Veteran
Joined
Aug 13, 2019
Messages
98
Reaction score
22
First Language
Portuguese
Primarily Uses
RMMV
I think it worked with Sync Save Data, Thanks @caethyril
 

Latest Posts

Latest Profile Posts

DamageActor3_7.png added!
index.php

Making a "characters first appearance" drawing for my game. Now I just have to finish the sprite art animation for her grand entrance.​
ScreenShot_9_24_2022_7_56_24.png
New area being started today. It leads to one of the games 2 optional bosses.
A secret desire of mine: I want to make a horror game based on Celtic mythology. I've seen plenty of Greek, Japanese and Norse mythology-based horror games, but I don't think I've ever seen a Celtic-based horror game anywhere...
FF Opera Omnia is in quite a bizarre state right now. As soon as the tutorial is completed, the game levels all characters to level 70 and makes all new characters start at level 70.

Forum statistics

Threads
125,537
Messages
1,171,787
Members
164,604
Latest member
beginner37
Top