playMaker

Author Topic: "Get button down" but as double tap  (Read 1303 times)

Krillan87

  • Beta Group
  • Full Member
  • *
  • Posts: 185
"Get button down" but as double tap
« on: February 26, 2020, 08:30:46 AM »
Hi,

Is there anyway to make an action that is like "get button down" but with a double tap? I can't leave the current state beause there are a lot of actions that are active in the state that do stuff every frame.

So I just need a a varation the "get button down" but with a "double tap"

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: "Get button down" but as double tap
« Reply #1 on: February 26, 2020, 09:35:08 AM »
Hi.
You can do the Button in a different fsm, then set a bool if double tapped.

and use a 'Fsm Bool Compare' (Ecosystem)
on the state that you can't leave :)

Krillan87

  • Beta Group
  • Full Member
  • *
  • Posts: 185
Re: "Get button down" but as double tap
« Reply #2 on: February 26, 2020, 10:01:33 AM »
Hi.
You can do the Button in a different fsm, then set a bool if double tapped.

and use a 'Fsm Bool Compare' (Ecosystem)
on the state that you can't leave :)

Yeah thats one way to do it. But it would be nice to just make it in one simple, clean, nice action. You think that custom action is hard to make?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: "Get button down" but as double tap
« Reply #3 on: February 26, 2020, 01:23:32 PM »
Hi.
I would consider getting 'Rewired' it has double press long press short press etc
and many other advantages