YesNoOk
avatar

Command input coding problem (Read 3365 times)

Started by Diek Stiekem, May 13, 2022, 08:20:14 pm
Share this topic:
Command input coding problem
#1  May 13, 2022, 08:20:14 pm
  • ***
    • Netherlands
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!"

Re: Command input coding problem
#2  May 14, 2022, 10:39:12 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/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.
Re: Command input coding problem
New #3  May 14, 2022, 01:20:24 pm
  • ***
    • Netherlands
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!"

Last Edit: May 15, 2022, 08:36:54 am by Diek Stiekem