Trouble with Double Button input command

Started by PineappleProducer, August 27, 2016, 06:35:08 AM

Previous topic - Next topic

PineappleProducer

Okay, so basically I'm trying to code a move that can either be executed with, say, just the c button or the a and b buttons pressed at the same time. what i got is this:


[command]
name = "a+b"
command = a+b
time = 1

[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c" || command = "a+b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 230 && movecontact
trigger3 = stateno = 240 && movecontact


however, when testing it out, while the single button command works fine, the two button command refuses to work. Does anyone know what I'm doing wrong here? I'm sure it's something simple, but any help would be appreciated. Thanks!
*I have an uncle who can't grasp why Donkey Kong isn't on PlayStation 3.
*EMBRACE YOUR INNER WEEABOO!!! :D
*Proud owner of Godzilla on PS4.


Noctis

Do you have another changestate interfering with it? Or another command named the same as "a+b"?
If not that then I doubt this but...keyboard limitations? It's just two buttons though so I'm gonna assume thats ruled out.

(Youtube) (WIP) (Mediafire) (New Anime Shop) My Manga Reviews! Personal favorite Patreon! Check her out!

"There is nothing either good or bad, but thinking makes it so."

PineappleProducer

as far as i know, theres no other changestates that could be interfering with it. I don't think it's the keyboard either. With other characters with moves which require two buttons to be pressed at the same time, they activate fine. For good measure, I attempted to execute the move with a ps4 controller, and still no dice.
*I have an uncle who can't grasp why Donkey Kong isn't on PlayStation 3.
*EMBRACE YOUR INNER WEEABOO!!! :D
*Proud owner of Godzilla on PS4.


Rajaa Retired

place the change state for the move all the away at the beginning of your statedef -1. If it works, then you have other commands interfering.

Odb718

It might just be the +
Try

[command]
name = "ab"
command = a+b
time = 1

[State -1, Standing Strong Kick]
type = ChangeState
value = 250
triggerall = command = "c" || command = "ab"
vVv Gouken718 vVv SabreTooth718 vVv


PineappleProducer

Well, I be darned. Moved it to the top, works fine now.
*I have an uncle who can't grasp why Donkey Kong isn't on PlayStation 3.
*EMBRACE YOUR INNER WEEABOO!!! :D
*Proud owner of Godzilla on PS4.