Users browsing this thread: 3 Guest(s)
[IDEA] THE FIGHTERS RESOURCE suggestions thread
(03-19-2012, 11:06 PM)[robo9] Wrote: If you know how to do sequenced or multiple inputs, feel free to tell me.

I haven't used MMF2 really, but assuming you can do pressed and released checks for button inputs, if/then/or type of script, and time-related checks...

Here's something for a crude hadouken kinda attack.(with lax input time)

Code:
>timer "P1input" reaches 0.2 sec.
>>set timer "P1input" off; set timer "P1input" = 0 sec.

>[Down] pressed
>>IF: variable "SpecialAttack" = 0
>>THEN: Set variable "Special Attack" = 1; set timer "P1input" on
>>ELSE: do nothing

>[Foward] pressed
>>IF: variable "SpecialAttack" = 1; [Down] currently pressed; timer "P1input" < 0.2 sec.
>>THEN: Set variable "Special Attack" = 2; set timer "P1input" = 0 sec.
>>ELSE: do nothing

>[Down] released
>>IF: variable "SpecialAttack" = 2; [Foward] currently pressed; timer "P1input" < 0.2 sec.
>>THEN: Set variable "Special Attack" = 3; set timer "P1input" = 0 sec.
>>ELSE: do nothing

>[Punch] pressed
>>IF: variable "SpecialAttack" = 3; timer "P1input" < 0.2 sec.
>>THEN: Set variable "Special Attack" = 0; Run HADOUKEN
>>ELSE: Run PUNCH

Not the cleanest looking way to do it, but I don't know exactly what MMF2 is capable of in regards to events and event detection.

You would just need to use a smaller version for directional punching/kicking.

EDIT: I just realized that I forgot to have a check in the events for the timers actually being on, but you kinda get the idea.
Thanked by:


Messages In This Thread
RE: [IDEA] THE FIGHTERS RESOURCE suggestions thread - by Ekoi - 03-20-2012, 12:08 AM

Forum Jump: