YesNoOk
avatar

Trouble with Double Button input command (Read 2082 times)

Started by PineappleProducer, August 27, 2016, 06:35:08 AM
Share this topic:
Trouble with Double Button input command
#1  August 27, 2016, 06:35:08 AM
  • ***
  • My username has a history to it.
    • USA
    • pineappleproducer.webs.com/
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:

Code:
[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.

Re: Trouble with Double Button input command
#2  August 27, 2016, 07:08:37 AM
  • ****
  • Hey, I'm Grump!
    • USA
    • soldier.ucoz.net/
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."
Re: Trouble with Double Button input command
#3  August 27, 2016, 03:15:37 PM
  • ***
  • My username has a history to it.
    • USA
    • pineappleproducer.webs.com/
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.

Re: Trouble with Double Button input command
#4  August 27, 2016, 03:37:45 PM
  • ******
  • I will absolve you of your original colors.
    • www.bluehitbox.com
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.
Re: Trouble with Double Button input command
#5  August 28, 2016, 01:01:28 AM
  • *****
  • Shame on you!
    • USA
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 Wheat Stage Released vVv
Re: Trouble with Double Button input command
#6  August 30, 2016, 12:36:35 AM
  • ***
  • My username has a history to it.
    • USA
    • pineappleproducer.webs.com/
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.