How can I remove the vertical scrollbar and the arrow down inside the Window_ActorCommand on battle?
MZ Removing Scroll bars on Window_ActorCommand
Javascript/Plugin SupportLogically, you'd either have fewer commands or make the window larger.
If you took those features away without changing either of those things, people would have no way to access all of their commands.
So what are you asking for help to do?
If you took those features away without changing either of those things, people would have no way to access all of their commands.
So what are you asking for help to do?
Right now, I only want to remove/hide the scrollbar without changing the size of the Window_ActorCommand. I asked for both the scrollbar and the arrow down so I can choose what to remove of the two. And I can't have fewer commands as my game has several skill types.
I really can't figure this out on javascript.
Then how do you expect the player to know they have access to more skills and they can scroll down to see them?
I'm only removing one of the two.
I don't immediately see what draws or controls the scroll bar. But you can force arrows to not display via:
Code:
Window_ActorCommand.prototype.updateArrows = function()
{
this.downArrowVisible = false;
this.upArrowVisible = false;
};
From what it looks like you are using VisuStella Stuff.
Try going changing the plugin parameters by going into the core plugin and look for this setting and changing it to false.
Try going changing the plugin parameters by going into the core plugin and look for this setting and changing it to false.
Didn't know Visustella do that. Thanks for this guys!
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/removing-scroll-bars-on-window_actorcommand.164601/