Hi folks,
I am using VisuStella Options Core to handle my game's settings. I would like some processes in my game to run only if a certain option is enabled in the Options Core menu. The main issue I am running into is that I want players to be able to change these settings from the main title menu, but have only managed to get this working by toggling switches, which can only be changed in-game.
I checked to see if there was some script call or plugin command to check the argument[0] value of a specific option, but there doesn't seem to be. I need a way to check the status of the option without needing a save to be loaded.
To give a specific example: my game has footstep sounds that are run via common events. I want to add an option to the options menu that adds a toggle, and when that toggle is "OFF", the process that runs the sounds can check that, and only run if it's "ON".
Is there any way to do this? The closest I could think of is maybe adding some global cross-save variable plugin, but then I have the same issue of not being able to change that outside of a loaded save with switches I can influence.
I guess my worst-case scenario is just disabling the option if no map is loaded, and then using a global switches plugin so it will carry over to other saves once set, but that seems a bit annoying.
Thanks!
I am using VisuStella Options Core to handle my game's settings. I would like some processes in my game to run only if a certain option is enabled in the Options Core menu. The main issue I am running into is that I want players to be able to change these settings from the main title menu, but have only managed to get this working by toggling switches, which can only be changed in-game.
I checked to see if there was some script call or plugin command to check the argument[0] value of a specific option, but there doesn't seem to be. I need a way to check the status of the option without needing a save to be loaded.
To give a specific example: my game has footstep sounds that are run via common events. I want to add an option to the options menu that adds a toggle, and when that toggle is "OFF", the process that runs the sounds can check that, and only run if it's "ON".
Is there any way to do this? The closest I could think of is maybe adding some global cross-save variable plugin, but then I have the same issue of not being able to change that outside of a loaded save with switches I can influence.
I guess my worst-case scenario is just disabling the option if no map is loaded, and then using a global switches plugin so it will carry over to other saves once set, but that seems a bit annoying.
Thanks!