WHEN YOU ACTIVATE A SWITCH, IT STAYS ACTIVATED EVEN IF YOU DON'T SAVE

Posts

Pages: 1
I've been working to implement a system where if the player activates a switch the switch will remain changed even if they do not save.

for example: if the player unlocks a class and starts a new game with that class, they will need to have that switch permanently changed.

example 2: killing toriel and then redoing it so that you spare her. flowey knows what you did even though you did not save.

I've been having a hard time getting this to work for me and when I look up what may be possible solutions like the global save plugin, the script does not work, and they do not have an example of how they did it to make it work so I cannot figure out what I did wrong.

If someone could solve this and show how they made their solution work, that'd be a great help
What maker are you using exactly?

I'm not sure if this actually possible but if you're using VX or MV i'd suggest taking a look at one of the New Game Plus scripts they allow you to carry over data to new games. Not sure if there's a simmilar script for other makers.

If that's not what you're looking for then maybe use a script to create a .txt(or w/e other data containing file) and check for that in an conditional branch or something along those lines (just throwing out ideas).
Thanks for the reply. I have been using RPG Maker MV. I've seen someone else do this, but I cannot figure out how to implement their script. After spending about 8 hours trying to figure out how to make this work in many different ways, I decided to just not use this feature. Thanks for the help though
Cap_H
DIGITAL IDENTITY CRISIS
6625
Basically, You need to change the switch in your safe. Quite a call.
I don't know how to do that.
Marrend
Guardian of the Description Thread
21806
I feel like this could be possible with some kind of auto-save function/script? That would not consider the ability for players to use save files to get the best benefit (ie: save-scum).

Unless hard-saves were disabled...
I just saw this while browsing Hime-sama's works, might be what you're looking for.
http://himeworks.com/2015/12/sync-save-data/
In a separate file from the player's save file, you have to save the state of all of the switches every single time you activate the code for setting a switch. Then, when a game is loaded, you just load the separate switch file, using it to overwrite the switches that are in the normal save file. An automatic saving feature... for switches only.
Pages: 1