Help with Battle Scene

Hello all, 

i think that my problem is fairly simple, but still even with the other script i've worked on, it seems i can't find a solution for this problem.

What i want to achieved is that when i'm in Battle and i open the Skill list window (click on the ability command) and then i select the skill i want to use, the skill window should disappear (hide) while i use the cursor to select the targat.

I'm fine with the cursor target, the problem right now is that i can't find a way to hide the skill window layout...

If it's needed i will post some screenshoots to explain it better, but i will do it tomorrow since now is late and i have to work tomorow xD

I'm using this battle HUD Script, but i think it change nothing since it should be a simple command that hide the skill layout...

I hope someone can help me! Thanks 🙂
Look in Scene_Battle for

def on_skill_okAnd where it says this next stuff, add the following lines

if [email protected]_selection?      @skill_window.hide      next_command    elsif @skill.for_opponent? @skill_window.hide      #ADD THIS select_enemy_selection    else @skill_window.hide #ADD THIS      select_actor_selection    endThe first statement is a NOT (notice the ! right before it) so by default it already calls to hide the skill window.

If that HUD script does modify def on_skill_ok, then make the changes there. Otherwise the changes go into the regular Scene_Battle of the default engine.

Could always make it a sniplet using an alias if you want.
Great, that's what i was looking for!

The Battle HUD i'm using doesn't define the on_skill_ok and it was driving me crazy finding where i had to edit to make the skill layout hide.

Thousand thanks for the help 🙂

Original thread: https://forums.rpgmakerweb.com/threads/help-with-battle-scene.24823/