- Joined
- Feb 22, 2016
- Messages
- 1,819
- Reaction score
- 1,582
- First Language
- English
- Primarily Uses
- RMMV
So I'm trying to add Yanfly's AutoSave plugin to the OptionsCore plugin, but it doesn't seem to work. I copy-pasted the instructions that say what to put in each field:
However, it doesn't show up w/ the above code. Although it does show up when I use
forums.rpgmakerweb.com
Too bad a solution was never posted and that thread is now closed...
JavaScript:
---------
Settings:
---------
Name:
\i[231]Autosave
Help Description:
Enables \c[4]Autosaving\c[0] for your game if ON.
You can still manually save your game.
Symbol:
autosave
Show/Hide:
show = Imported.AutosaveShowOpt;
Enable:
enabled = true;
Ext:
ext = 0;
----------
Functions:
----------
Make Option Code:
this.addCommand(name, symbol, enabled, ext);
Draw Option Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
this.drawOptionsOnOff(index);
Process OK Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, !value);
Cursor Right Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, true);
Cursor Left Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
this.changeValue(symbol, false);
Default Config Code:
// Empty. Provided by this plugin.
Save Config Code:
// Empty. Provided by this plugin.
Load Config Code:
// Empty. Provided by this plugin.
show = true
instead of show = Imported.AutosaveShowOpt;
. Also, show = Yanfly.Param.AutosaveShowOpt;
seems to work as well. Unfortunately, the choices (On/Off) don't actually do anything despite being able to get it to show in the options menu. I also noticed other people had the same issue in this thread:Can't add "Autosave" option to YEP Options Core
I'm using YEP Options Core and Autosave, and I've added the option, and it doesn't show up. Moving plugins on the list, doesn't help.