You mean you want to add a button that totally quits from the scene? Would any changes to the actor's name get saved or instead it would revert to the previous name?
You could use my
Mobile Game User Interface plugin (I should probably rename it because it's not just for mobile games) to make a button on the screen to leave the name processing scene. In the configuration for the button, you would use the "custom code" option with the following code:
That's for mouse/touch games. For the keyboard, you would have to add a key to that window that calls the same "popScene" function.
I want to close Name Input window. The actor's name should not be saved.
I tried the plugin,
when the Name Input Window is open, the button disappears,
(same as it would also disappear when the option menu opens.)
If I turn on SRD_NameInputUpgrade plugin, then open the Name Input Window, the button will be visible, but the Name Input window will override it, unable to click.
Edit: Actually I added Scene_Menu to the parameter to allow the buttons to be active when menu opens. Now it is active when menu opens.
Is there a scene_*** I can add for the Input Window as well?
Edit: I added Scene_Name, and it works great!