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 Threads

Latest Profile Posts

Made some new ground textures for our game, lots of textures still to be made but I think it start to look good =3
FddE0coWIAUA5Vy
People are stupid.
"Hello, our electricity has stopped working."
"Yeah, it just stopped for the entire area a couple mins ago."
"And why?"
"I don't know, need to investigate."
"And how long's it gonna last?"
Dude... Seriously?

Clarn Hold
(No storylines)

Forum statistics

Threads
125,549
Messages
1,171,866
Members
164,623
Latest member
Psychoghost
Top