YesNoOk
avatar

I'm confused about making a Combo. (Read 165 times)

Started by WulfHound, August 11, 2011, 09:14:39 pm
Share this topic:
I'm confused about making a Combo.
#1  August 11, 2011, 09:14:39 pm
  • **
  • "Safer in numbers"
    • img198.imagevenue.com/img.php?image=th_704966992_Rellik_122_165lo.PNG
...Asking this kinda makes me feel silly, but whatever.

When I try making a combo for a move, I select the move and click state editor. From there, I click the moves name in the Combos:
But when I click Save/Update, it Shows me this:

[State -1]
type = ChangeState
triggerall = command = ""
trigger1 = (statetype = s) && ctrl

So I go fill the state/Command but either and error comes up, or it doesn't make a combo.
Am I doing something extremely wrong here?

Oh yes, if you want to know what error I get here it is:

Error message: Undefined command label: "Slash".
If not misspelling in CNS, check CMD
Error parsing triggerall
Error parsing [State -1 Slash]
Error in [Statedef -1]
Error in NightmareWolf.cmd
Error loading chars/ffu_char1/ffu_char1.def
Error loading p1

Library error message: Died parsing command = "Slash"
Aren't wolves cute?
Re: I'm confused about making a Combo.
#2  August 11, 2011, 09:42:15 pm
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
Just write the command yourself. Don't use Fighter Factory's built in tools unless you absolutely need to. This is not one of those cases. Just open up KFM's CMD and read the guide in there. That's probably easier than using that tool anyways. On top of that you'll learn from it. :)

-[Все слова это только слова.]-
Re: I'm confused about making a Combo.
#3  August 12, 2011, 02:04:57 am
  • **
  • "Safer in numbers"
    • img198.imagevenue.com/img.php?image=th_704966992_Rellik_122_165lo.PNG
I'm not sure if this is a good code, trigger2 = stateno 200 *or something* && movecontact
Aren't wolves cute?
Re: I'm confused about making a Combo.
#4  August 12, 2011, 02:27:44 am
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
Quote
I'm not sure if this is a good code, trigger2 = stateno 200 *or something* && movecontact
If you were to write it like that verbatim, then you'd get an error because your syntax is incorrect.

Quote
trigger2 = (stateno = 200 || stateno = *something*) && movecontact
would be correct. The set of parenthesis consolidate those to expressions into one expression.

Mugen would evaluate this as:
Trigger this state controller if (stateno = 200 || stateno = *something*) is met and (movecontact) is met.
Plainly: Trigger if (this or this) and this is met, meaning true.

Proper use of parenthesis plays a major part in coding. The location can completely change your final expression, as you can see by the above example.

-[Все слова это только слова.]-
Re: I'm confused about making a Combo.
#5  August 12, 2011, 04:38:37 am
  • **
  • "Safer in numbers"
    • img198.imagevenue.com/img.php?image=th_704966992_Rellik_122_165lo.PNG
Ooh, that's a good thing to know.
Aren't wolves cute?