Hi guys!
I wanted to ask the community exactly how I would control whether a menu would show in the main menu with the condition being whether or not a switch is on. The plugin does not have anything like this, and I have very very minimal JS experience.😅 Also, I saw some posts which show something like ($gameSwitches.value(x) == true). Would I need to put an if statement before to check for the switch? Even so, what script call would I run inside the if block to show/hide a menu from the main menu? Also, I tried to figure it out myself before this and wanted to know, can I do a conditional branch using the event system, and then put a script call inside it to make it check if the condition is true, and then run the script, or would I need to script the whole thing, including the if statement?
So, my main question is, what script call should I run to show/hide a menu using YEP_MainMenuManager?
Sorry for the disorganised way of asking, but my mind right now is extremely disorganised.😅
Any help is appreciated!
Please and Thank you!🙂
I wanted to ask the community exactly how I would control whether a menu would show in the main menu with the condition being whether or not a switch is on. The plugin does not have anything like this, and I have very very minimal JS experience.😅 Also, I saw some posts which show something like ($gameSwitches.value(x) == true). Would I need to put an if statement before to check for the switch? Even so, what script call would I run inside the if block to show/hide a menu from the main menu? Also, I tried to figure it out myself before this and wanted to know, can I do a conditional branch using the event system, and then put a script call inside it to make it check if the condition is true, and then run the script, or would I need to script the whole thing, including the if statement?
So, my main question is, what script call should I run to show/hide a menu using YEP_MainMenuManager?
Sorry for the disorganised way of asking, but my mind right now is extremely disorganised.😅
Any help is appreciated!
Please and Thank you!🙂