Problem with command

Started by krissuja, March 24, 2013, 12:24:12 AM

Previous topic - Next topic

krissuja

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

Sheng Long

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."

krissuja


Sheng Long

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."

krissuja

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?

Sheng Long

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."

krissuja

#6
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

Sheng Long

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."

krissuja

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