Command input coding problem

Started by Diek Stiekem, May 13, 2022, 08:20:14 PM

Previous topic - Next topic

Diek Stiekem

I'm coding a move that is basically the same as Chun-Li's jumping down + MK (heelstomp)
I want to map it to the same input, however I'm only able to get it working with just the "down" in put


Quote
[State -1, Yosokyaku]
type = ChangeState
value = 641
triggerAll = !AILevel && !NumProjID(131035)
triggerAll = command = "holddown"
triggerALL = StateType = A && (var(20) || var(44) < 3)
trigger1 = ctrl
trigger2 = var(4)

If I change the "triggerAll = command =" line into anything else like:
Quote
triggerall = !AILevel
triggerAll = command = "holddown" && command = "b"
triggerAll = StateType != A

It doesn't work :/
(Code comes from JMM Chun-Li initially to begin with, however I am dumb and probably missing something ^^; )
"Such Heroic Nonsense!"


Cyanide

I assume "doesn't work" means the normal attack comes out instead. Move this above that changestate.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Diek Stiekem

#2
No, it just comes out by pressing "down".
Applying another command to the code makes it not work, yet I want it to be down + mk


Edit:
Nvm, I am dumb, lol

Thanks for the help!
"Such Heroic Nonsense!"