Ok, I've had enough of this damn problem.WTF is wrong with this changestate ???:[mcode];---------------------------------------------------------------------------[State -1, Stand Medium Kick (forward)]type = ChangeStatevalue = 320triggerall = var(58)<1 && StateType != Atriggerall = command = "b"triggerall = command != "holddown" && command = "holdfwd"trigger1 = ctrltrigger2 = StateNo = 100 && AnimElemTime(4) > 0[/mcode]This is supposed to trigger when you press b (medium kick) while walking forwards. As simple as that. var(58) is the AI var, FYI. But when I "do" this, it just sends me to the normal medium kick (in my case, state 310).And yes, that StateDef exists, and it has the correct anim .
besides it being below another change state that triggers when you press B, i can't see any reason it won't work.
Anjel said, October 08, 2007, 10:16:36 pmWhy not use IfElse?[mcode]IfElse(command = "holdfwd",320,310)[/mcode]They have different triggers. Well, I COULD do it, but I'd have to make it moar complicated and stuff. On the other way, I just had to flip these 310 and 320 changestates .