Main Menu
  • Welcome to The RPG Maker Resource Kit.

Can I change the Battle Command Window Width?

Started by shintashi, April 10, 2011, 12:27:48 AM

0 Members and 1 Guest are viewing this topic.

shintashi

I've been having difficulty finding where the Battle command Window Width is designated. The height is based loosely on the number of options in the list typically around 160, but width isn't mentioned anywhere. It's got to be calling the numbers from somewhere, but the base just says "width" as if its expecting Width to be assigned from someplace else.

help?

modern algebra

It's the first argument in the initialize method. So, it is being defined from the scene in which it is created. Ie. line 30 of Scene_Battle



    @actor_command_window = Window_Command.new(160, [s1, s2, s3, s4])

shintashi

Quote from: modern algebra on April 10, 2011, 12:31:00 AM
It's the first argument in the initialize method. So, it is being defined from the scene in which it is created. Ie. line 30 of Scene_Battle



    @actor_command_window = Window_Command.new(160, [s1, s2, s3, s4])


Ah! I had suspected, but because I have SDK I didn't know which one to edit. turns out it was the copy in SDK IV (the third copy).  Much thanks ^^