Skip to main content

Search

How Do You Make Multiple Button Combination Inputs?

  • Mr_BuggyB

    For button combinations I would suggest to use the "and" gadget .... Put the l2 and triangle wires from the controller sensor into the gadget and put the "and" output into your action you want to perform

  • bogey_99

    '@Mr_BunnyB, I used an "AND gate" like you said but now the problem is both attacks are shooting at the same time (the regular triangle and L2 + triangle). I assume I have to use an "OR gate", but i'm not sure what exactly to do on how to make only the combined input come out

  • Mr_BuggyB

    I'm guessing as well ... Maybe put a selector into the mix ....this way there would only one signal at a time be able to pass through?

  • TrenchBucket

    Create three AND gates and one NOT gate

    Connect L2 and Triangle to AND 1
    Connect AND 1 to NOT
    Connect L2 and NOT to AND 2
    Connect Triangle and NOT to AND 3

    AND1 is now your L2+T attack
    AND2 is your L2 attack
    AND3 is your T attack

    This should get you closer. I think you might find you want something a little bit more advanced though, because an issue you may run into is that in the vast majority of cases someone pressing L2 and Triangle is going to press one of them first which may cause issues!

  • OreganoSpindle

    To echo everyone else, I'd use the AND gate...
    It's tricky if both L2 and Triangle both have a unique feature. It would be easier to use L2 as a "shift" function to make sure that it gets pressed first and you're not outputting L2+Triangle when the user is trying to do L2 THEN triangle.

    You could also add a timer between each input to allow, let's say, 0.1 seconds to press both buttons at once. That makes artificial lag, though, and lag is the enemy of tight gameplay.

Please sign in to leave a comment.