Too few arguments given (Read 2145 times)

Started by RoXWasTaken, February 18, 2021, 12:51:55 AM
Share this topic:
Too few arguments given
#1  February 18, 2021, 12:51:55 AM
    • Poland
So - I'm new to the MUGEN creating stuff (for start doing only edits) and while editing a char I given him some new sprites and add them to animations then I saved.
When I was going to try it in MUGEN it has crashed with this message:
Library error message: Too few arguments on element 96 of [Begin Action 191]:
1,4000 (2)

Error detected.

Error in Goku.air:1565
Error loading chars/ff3_0/ff3_0.def
Error loading p1

Clipboard tail:
  Loading BG...OK
Stage loaded OK
Setting game resolution 1366x766...OK
  Allocating helpers...OK
Match RNG seed: 1445438324
Reset persist vars team 0
Reset persist vars team 1
Loading character chars/ff3_0/ff3_0.def...
  Loading info...OK
  Loading cmd command set Goku.cmd...OK
  Loading cns Goku.cns...OK
  Loading cns IA.cns...OK
  Loading cns MUI.cns...OK
  Loading cns DUI.cns...OK
  Loading cns Especiales.cns...OK
  Loading cns Supers.cns...OK
  Loading cmd state entry Goku.cmd...OK
  Loading common states common1.cns...OK
  Loading sff Goku.sff...OK
  Loading anim Goku.air...Character ff3_0.def failed to load

Requesting fast answer cuz I have to release next edit.
Last Edit: February 18, 2021, 08:32:34 AM by RoXWasTaken
Re: Too few arguments given
#2  February 18, 2021, 04:31:50 AM
  • ****
Your animation is incomplete. Usually an animation line looks like this:
200,0, 0,0, 2
which are: group number, index number, x position, y position, ticks

Your animation line is missing some of these elements. You have:
You've just specified the group and index, but not the position and how many ticks.
Re: Too few arguments given
#3  February 18, 2021, 08:31:17 AM
    • Poland
Actually, it could be my fault:
I resized 1 animation to 1.4000 (it was 96 frames so there was a bit of clicking) and clicked ctrl + v too many times and the animation I was on jumped to a different animation on the other end.
I've seen 1,400 in the code for a few animations so I guess that's my fault.
I've removed all of them from the code and now everything works perfectly.

Thanks for the help!
If you hadn't written, I probably wouldn't have checked the animation code.