Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

<solved> Error Definition

Hi,

I am hoping this is the currect place to post this. Since i am not asking for a script request... eee, if this is the wrong place, accept my apologies and please move it to its correct place.

I am currently messing with scripts (and I am amazed how much I know that I really shouldnt. Most of this really does come down to logic!) and i've managed to get everything in my CMS working with the other scripts I have... except one thing. I am assuming its something really simple, but the error i recieve doesn't help me understand how to fix it (since, what it is pointing to, is one SMALL edit in one of the systems actual scripts). So before i can even fathom how to fix it, i need to know what is wrong.

Now, what is the error? It occures when i attempt to go to the Skill menu.

Script 'Scene_Skill*' line 27: ArgumentError occured.
wrong number of arguments(2 for 1)

The line it is pointing at is the minor edit needed for my menu system to work.

Code:
    # ****** ADDING THE -1 TO THIS LINE IS NECESARY TO MAKE THE MENU WORK
    @skill_window = Window_Skill.new(@actor, -1)

I only seem to have gotten this error when i put in the 'HP/MP/ATB/LimitBreak' Seph slanted bars script. I am not sure how they are interfering with one another, but i'm sure if i can find that out, i might be able to fix it... or worst come to worst, I'll at least know what to ask for if i need to ask for help.

I am not 100% sure what else you would need to know... so if there are any specific questions, ask away. I'll do my best to answer... but remember, I am still new to this. I can't program anything, but I've recently realized I can fix a few things with just logic. So, i don't know the appropiate terms or whatever. Still a newb at scripting, sadly...

Anyways, if anyone is able to help, I would greatly appreciate it!
-Zank
 
Okay, problem solved... but i dont know how... uuh... heh, I keep asking for help but end up accidently fixing things... i try for hours, can't do it, ask for help; do something to fix something else, bam, it works.

Oy, sorry about that...
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top