Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Krillan87 on February 26, 2020, 08:30:46 AM

Title: "Get button down" but as double tap
Post by: Krillan87 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"
Title: Re: "Get button down" but as double tap
Post by: djaydino 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 (https://hutonggames.fogbugz.com/default.asp?W1181))
on the state that you can't leave :)
Title: Re: "Get button down" but as double tap
Post by: Krillan87 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 (https://hutonggames.fogbugz.com/default.asp?W1181))
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?
Title: Re: "Get button down" but as double tap
Post by: djaydino 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