I tried to simplify what i'm trying to do for the title, but i'll explain it more here:
tl;dr
What i want is to basically borrow the skill selection window from Scene_Battle and use it (via script call) on Scene_Map.
Long version:
Let's say for example, the player has some choices, one of them being to use a skill. So, to access skills in Scene_Map you have to call SceneManager.push(Scene_Skill); - which means i would just put that script call into the choice of 'use skill' for example.
This opens up the skills as if the player manually went to their menu and selected their skills (bypassing the menu).
Although this does what i want (you can use a skill, pay its cost, etc.) the way Battle_Scene handles skill selection is much more preferable. The Skill_Scene has a lot of unnecessary information (like the actor hp and stuff like that) that is irrelevant in the context where i need it.
I have learned how to create my own window class and how to use the constructor to create a window, however i have no idea of how to fill it up with the menu found in Scene_Battle. As far as i have seen, i would have to create my own handlers, etc. I have even looked at how the "select item" command is handled, so that i could maybe transform it into a select skill command, but i had little luck there also.
Does anyone have any input on this?
tl;dr
What i want is to basically borrow the skill selection window from Scene_Battle and use it (via script call) on Scene_Map.
Long version:
Let's say for example, the player has some choices, one of them being to use a skill. So, to access skills in Scene_Map you have to call SceneManager.push(Scene_Skill); - which means i would just put that script call into the choice of 'use skill' for example.
This opens up the skills as if the player manually went to their menu and selected their skills (bypassing the menu).
Although this does what i want (you can use a skill, pay its cost, etc.) the way Battle_Scene handles skill selection is much more preferable. The Skill_Scene has a lot of unnecessary information (like the actor hp and stuff like that) that is irrelevant in the context where i need it.
I have learned how to create my own window class and how to use the constructor to create a window, however i have no idea of how to fill it up with the menu found in Scene_Battle. As far as i have seen, i would have to create my own handlers, etc. I have even looked at how the "select item" command is handled, so that i could maybe transform it into a select skill command, but i had little luck there also.
Does anyone have any input on this?