MZ Visustella Battlecore Message Wait

Hey folks, been using the Visustella Battlecore plugin and I'm wondering if anyone knows a way to adjust the Message Wait parameter for the Battle Log while in game. Currently I have it set to 40, but it would be nice to let the player change it in game depending on their preferences. (Something like Slow = 60, Medium = 40, Fast = 20).

I tried seeing if I could use a variable for the Message Wait parameter, but it seems the plugin doesn't support that. Anyone have any ideas?
The base code window battlelog wait method sets the wait to what the messageSpeed method returns. So I guess you can change it like (copy paste to notepad, save as .js file and add as plugin):

Window_BattleLog.prototype.wait = function() {
this._waitCount = ConfigManager.battleLogSpeed || this.messageSpeed();
};

Then use VS Options Core to make an extra setting for that with symbol battleLogSpeed
Try to find an existing options setting in the plugin settings with 3 options and copy paste that and then change the settings codes so that they manipulate it to give that ConfigManager.battleLogSpeed values 20,40,60 when you select slow,medium,fast.
The base code window battlelog wait method sets the wait to what the messageSpeed method returns. So I guess you can change it like (copy paste to notepad, save as .js file and add as plugin):

Window_BattleLog.prototype.wait = function() {
this._waitCount = ConfigManager.battleLogSpeed || this.messageSpeed();
};

Then use VS Options Core to make an extra setting for that with symbol battleLogSpeed
Try to find an existing options setting in the plugin settings with 3 options and copy paste that and then change the settings codes so that they manipulate it to give that ConfigManager.battleLogSpeed values 20,40,60 when you select slow,medium,fast.

This works, but since I'm building an options menu with events instead of using Options Core I just ran the provided code as a script within an event. Thank you!
Cool.

But just to make sure, don't put that whole thing in a script (add it as plugin). And if you use that ConfigManager value I think it's reset when you close and start game unless you make it properly like other options. If you're doing it with events, try changing that line in the plugin to use game variable (change X to id):
this._waitCount = $gameVariables.value(X) || this.messageSpeed();
Then in your evented menu make it control the variable value.

EDIT: Though if your event options menu can be accessed in the title menu too (using an evented title screen), then those variables reset at new game too.
Cool.

But just to make sure, don't put that whole thing in a script (add it as plugin). And if you use that ConfigManager value I think it's reset when you close and start game unless you make it properly like other options. If you're doing it with events, try changing that line in the plugin to use game variable (change X to id):
this._waitCount = $gameVariables.value(X) || this.messageSpeed();
Then in your evented menu make it control the variable value.

EDIT: Though if your event options menu can be accessed in the title menu too (using an evented title screen), then those variables reset at new game too.

Yeah this is an issue I've been running into. Things like battle log speed, full screen state, volume levels, etc. Ideally these would be retained from the player's last session but I'm not 100% sure how to implement that. I think I can do this with a persistent variable/switch plugin?
Yeah, but can't you just use VS options core anyway for the extra options. You don't have to use the options menu.

Then you can manipulate the ConfigManager.battleLogSpeedin your evets, like:
ConfigManager.battleLogSpeed = 20;

Just add that in the plugin settings as a new symbol and put default value of 40. You don't have to touch the settings for cursor left, cursor right, ok etc. (And then use the first version of the plugin that references the ConfiManager value)

EDIT: You should also use ConfigManager.save(); I think
Yeah, but can't you just use VS options core anyway for the extra options. You don't have to use the options menu.

Then you can manipulate the ConfigManager.battleLogSpeedin your evets, like:
ConfigManager.battleLogSpeed = 20;

Just add that in the plugin settings as a new symbol and put default value of 40. You don't have to touch the settings for cursor left, cursor right, ok etc. (And then use the first version of the plugin that references the ConfiManager value)

EDIT: You should also use ConfigManager.save(); I think

Honestly the idea of using Options Core but not using the actual options menu it provides had never crossed my mind lol. And it by default remembers settings, so that's really nice. I've updated my code to reflect the suggestions you made and everything works pretty smoothly. Thank you again!!!

Original thread: https://forums.rpgmakerweb.com/threads/visustella-battlecore-message-wait.183846/