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 Posts

Latest Profile Posts


Clarn Hold
(No storylines)
There was a tutorial on how to draw anime eyes. Just draw Among Us. So I tried.
Screenshot_107.jpg
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.

Forum statistics

Threads
125,540
Messages
1,171,814
Members
164,611
Latest member
anonymouss
Top