YesNoOk
avatar

Problem with command (Read 170 times)

Started by krissuja, March 24, 2013, 12:24:12 am
Share this topic:
Problem with command
#1  March 24, 2013, 12:24:12 am
  • *
  • I am listening...
    • Poland
    • shinakuma@aqq.eu
The command looks like this: / c, F, D, B, ~ c   ;hold "c", a half circle back, then release the "c", but it does`t work, where I made a mistake?
I put it as the very first command

      Posted: March 24, 2013, 03:31:21 am
Last Edit: March 24, 2013, 03:44:51 am by krissuja
Re: Problem with command
#2  March 24, 2013, 07:36:01 pm
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
Hmm....... I am not certain you can hold another button while inputting another command like that. However, you 'could' fake it by using variables. :)

For example:
Var(0) = 0 -> Not hold C
VarSet -> Var(0) = 1 -> Holding C
trigger1 = Var(0) > 0 && command = "this move".

A little something like that. ;)

"You must defeat my flaming
dragon punch to stand a chance."
Re: Problem with command
#3  March 24, 2013, 10:59:18 pm
  • *
  • I am listening...
    • Poland
    • shinakuma@aqq.eu
i check it out, thanks;)
Re: Problem with command
#4  March 24, 2013, 11:17:23 pm
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
Oh yea I just realized something. You CAN use commands where the button is released. I've been doing it with my SF2 characters. :P

Example:
D, DF, F, z is the original move
D, DF, F, ~z is when you release the button.

Sorry, brain fart there. But I think it's the second one that you want. :P

"You must defeat my flaming
dragon punch to stand a chance."
Re: Problem with command
#5  March 25, 2013, 02:06:30 am
  • *
  • I am listening...
    • Poland
    • shinakuma@aqq.eu
it's exactly what i want, big thanks!:)) I just try to make this based on what the CMD says, did not work,  so i stay with /c, F, D, B ,and the strange thing was that i was able to use this command during intro(?) and to cancel ANY move. I had to add triggerall = roundstate = 2 and MoveType = I in CMD to stop that, it's some kind of bug or something?
Re: Problem with command
#6  March 25, 2013, 02:47:10 am
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
Why movetype = I and roundstate = 2?  What kind of move are you trying to do? All you need is to check for control.

ctrl = 0 - can not use moves.
ctrl = 1 - can use moves.

The reason  it doesn't work before & after round state 2 in most cases is because by default, characters control is always at 0 before the round starts/ends. Unless it is set by something else by the creator of the character. So there is no reason for roundstate = 2.

"You must defeat my flaming
dragon punch to stand a chance."
Re: Problem with command
#7  March 25, 2013, 03:06:06 am
  • *
  • I am listening...
    • Poland
    • shinakuma@aqq.eu
I know that, but this command [/c, F, D, B] allowed me to make a move during intro, and cancel any move, so to stop that I've had to add those two triggers.
BTW ctrl = 0 did not work

and that command from You do the same without  movetype = I and roundstate = 2
Last Edit: March 25, 2013, 03:14:21 am by krissuja
Re: Problem with command
#8  March 25, 2013, 03:22:43 am
  • *****
  • Video Game Veteran
    • USA
    • gcnmario.free.fr
No. Like this

type = changestate
trigger1 = command = "this_move"
trigger1 = ctrl

this means you can only do the move if you have control of your character. So roundstate = 2 and movetype = I aren't necessary. Make sense? Or is this not what you want? I'm confused here.

"You must defeat my flaming
dragon punch to stand a chance."
Re: Problem with command
#9  March 25, 2013, 03:59:59 pm
  • *
  • I am listening...
    • Poland
    • shinakuma@aqq.eu
My mistake! I have "ctrl = 0" instead of "trigger1 = ctrl" and that's why i have to add those 2 triggers, ctrl = 0 does nothing... My mistake, sorry;p