Why does this line of script return an error...
class Rime_Menu_Commands < Window_Command def initialize x = 544/2 - window_width/2 y = 416/2 - window_height/2 super(x, y) endendwhile...
class Rime_Menu_Commands < Window_Command def initialize x = 544/2 - window_width/2 y = 100 super(x, y) endend..this doesn't?
The error that arises comes from not being able to find the size method from Line 41 of Window_Command. Though the script works fine is you substitute y with a flat number instead of using window_height. Does this occur because the @list array has no size yet because it hasn't been populated by the add_commands?
class Rime_Menu_Commands < Window_Command def initialize x = 544/2 - window_width/2 y = 416/2 - window_height/2 super(x, y) endendwhile...
class Rime_Menu_Commands < Window_Command def initialize x = 544/2 - window_width/2 y = 100 super(x, y) endend..this doesn't?
The error that arises comes from not being able to find the size method from Line 41 of Window_Command. Though the script works fine is you substitute y with a flat number instead of using window_height. Does this occur because the @list array has no size yet because it hasn't been populated by the add_commands?