So I had a think about this, because I've never actually tried to do anything like this. Whatever works, it's going to be something you want to do in the CMD file, and you probably want it to have its own SCTRL.
I have made moves that work during block (escape roll and body blow) and they use gethitvar for a trigger. That looks like this:
Code:
[State -1, Escape GC]
type = ChangeState
value = 730
triggerall = command = "GC" ;; the command
triggerall = RoundState = 2 && StateType != A ;; Fighting is happening, and I'm not in the air
trigger1 = (stateno = [120,155]) && power >= ifelse(var(15) > 0,0,1000) ;; I make sure that I'm blocking and have sufficient power to do this move
trigger1 = GetHitVar(guarded) = 1 ;; I got hit something and blocked it
So this is different from a normal move in that I'm not checking for ctrl, because ctrl will be 0 if I'm blocking. Same for your case. If you're in hitstun, you don't have ctrl. MoveType might be a better trigger than GetHitVar for you, but you might still be able to add some extra specific triggers that way. What should work for you, is something like this:
Code:
[State -1, Example Thing]
type = ChangeState
value = 990 ;; example stateno
triggerall = command = "example"
triggerall = RoundState = 2 && StateType != A ;; you can probably remove this line if the move can work in the air
trigger1 = MoveType = H ;; this means that you are being hit
ignorehitpause = 1 ;; yeah, this might help
Bookmarks