The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: shintashi on April 10, 2011, 12:27:48 AM

Title: Can I change the Battle Command Window Width?
Post by: shintashi on April 10, 2011, 12:27:48 AM
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?
Title: Re: Can I change the Battle Command Window Width?
Post by: 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])
Title: Re: Can I change the Battle Command Window Width?
Post by: shintashi on April 10, 2011, 03:49:05 PM
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 ^^