Hello. I'm using forums first time because I stuck so bad.....
I want my custom window display when player's on dialogue, and make them select some options in it. So this window should be stacked on dialogue, not closing the dialogue. But I'm having difficulty to make it selectable—When I open the custom window with the dialogue's choice window opened, the arrow keys trigger both of them. I want to make the choice window disabled if the custom window is opened.
1
How I'm making this? First this code to run a common event using a switch:
Input.keyMapper["83"] = "SkillMenu";
_alias_scene_map_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
_alias_scene_map_update.call(this);
if (Input.isTriggered("SkillMenu")) $gameSwitches.setValue(10, true);
};
(I don't know about javascript language, so this is just a copy of a tutorial...)
And in the common event, I have my custom window—I made it with SRD's window upgrade plugin.
2
I thought another method; to make the window with pictures. I can use Yanfly's Button Common Events to trigger only my custom window, and make choice window using events...But with show picture events I can't make it go over dialogue windows.
So I want codes or a plugin to disable certain window's keyboard input (when two windows are opened in one scene)
...Or other methods to open up new choice window above dialogues. (I need to make players can use it on dialogues, at the same time)
Any good method to save me? 🙁
I want my custom window display when player's on dialogue, and make them select some options in it. So this window should be stacked on dialogue, not closing the dialogue. But I'm having difficulty to make it selectable—When I open the custom window with the dialogue's choice window opened, the arrow keys trigger both of them. I want to make the choice window disabled if the custom window is opened.
1
How I'm making this? First this code to run a common event using a switch:
Input.keyMapper["83"] = "SkillMenu";
_alias_scene_map_update = Scene_Map.prototype.update;
Scene_Map.prototype.update = function() {
_alias_scene_map_update.call(this);
if (Input.isTriggered("SkillMenu")) $gameSwitches.setValue(10, true);
};
(I don't know about javascript language, so this is just a copy of a tutorial...)
And in the common event, I have my custom window—I made it with SRD's window upgrade plugin.
2
I thought another method; to make the window with pictures. I can use Yanfly's Button Common Events to trigger only my custom window, and make choice window using events...But with show picture events I can't make it go over dialogue windows.
So I want codes or a plugin to disable certain window's keyboard input (when two windows are opened in one scene)
...Or other methods to open up new choice window above dialogues. (I need to make players can use it on dialogues, at the same time)
Any good method to save me? 🙁