So I've been working on a conversion merger of two scripts I found doing similar things and rewrote the two into my own one so it'd do exactly what I want. After finishing the script I proceeded through bug testing and have fixed numerous bugs already (mostly spelling mistakes or formatting errors like capitals in wrong places) but I came across the all too famous Undefined Method error. Usually with some working I just simply find my way around it but this time I have unfortunately not succeeded so I thought I'd bring it to the community to ask if anyone else was familiar with and would be able to assist me in finding my way around this so I can continue with the rest of my bug testing.
The snippet of code in question is:
# Initialization def initialize(x,y) super(x,y, 165, window_height) self.opacity = Settings::HWindowOpacity refresh end
The problem is, when I press new game, the game brings up a error stating:
Script 'Darrell Script' line 1111: NoMethodError occured.undefined method 'opacity=' for #<Window_HUD:0xa2dbe3c>I was wondering if anyone could spot browsing over the snippet something obvious that I have merely been overlooking that could resolve this or if someone could suggest a deeper routed problem that I could look into fixing. That would be great.
Thank you.
The snippet of code in question is:
# Initialization def initialize(x,y) super(x,y, 165, window_height) self.opacity = Settings::HWindowOpacity refresh end
The problem is, when I press new game, the game brings up a error stating:
Script 'Darrell Script' line 1111: NoMethodError occured.undefined method 'opacity=' for #<Window_HUD:0xa2dbe3c>I was wondering if anyone could spot browsing over the snippet something obvious that I have merely been overlooking that could resolve this or if someone could suggest a deeper routed problem that I could look into fixing. That would be great.
Thank you.