playMaker

Author Topic: Disable button input?  (Read 1355 times)

wirejaw

  • Playmaker Newbie
  • *
  • Posts: 49
Disable button input?
« on: March 10, 2021, 09:55:02 PM »
Is there a way to disable button input (and reset/enable on exit)?  I need to disable an input during a state that has a brief wait time, and then enable it after the wait time is over.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Disable button input?
« Reply #1 on: March 11, 2021, 07:52:17 AM »
Hi.
Set button behavior in a separate fsm.

and when pressed send events or set fsm bools to the other fsms where you need it.

now you can disable the button fsm.

or you can set a checker (bool 'Button X active) before sending an event or bool.
which you can set to true or false from another fsm.

wirejaw

  • Playmaker Newbie
  • *
  • Posts: 49
Re: Disable button input?
« Reply #2 on: March 11, 2021, 11:00:37 AM »
Thanks I'll give it a try.