Hello! I have scoured the internet for something like what I am looking for. I evented a time system that runs on one Switch, (switch 1,) and when it is turned off, time stops momentarily.
I would, however, like
time to stop automatically when either the
default menu or conversational
messages appear on the screen.
I COULD do this by eventing, by putting a control switch operation before and after
each NPC message, but I could not do it for the menu, I think. I think that it would be more convenient to have one plugin do it all for the sake of my sanity.
I tried to Frankenstein my own plugin for what I needed by using
Hudell's OrangeTimeSystem script because there is an option in it to pause time by checking if the gameMessage is "Busy." I attempted to figure out how it was done and replicate it, but to no avail.
$.isInternallyPaused = function() {
if ($.Param.pauseClockDuringConversations === true) {
if (SceneManager._scene instanceof Scene_Map) {
if ($gameMessage.isBusy()) {
return true;
}
}
}
return false;
};
I know that if I could just figure out how to do this, I would be set. But after hours of trying to do it without any real experience with JS, I just threw my hands up.
So basically, I am asking for a
plugin that checks to see if the menu or a message window is showing, if it is,
turn switch 1 OFF. If it is not (else,) to
turn the switch ON.
I hope that this isn't complicated, I don't think it should be??
Please let me know if you can help! Thanks!