playMaker

Author Topic: Player Input Button Events loop error and how to use  (Read 1157 times)

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Player Input Button Events loop error and how to use
« on: November 14, 2021, 09:51:32 PM »
Hello so I am using the new input system and at the same time playmaker, I just want it to work like On button down, but in the Player Input Button Events whenever I press the button it shoots an loop error. (its an fsm for a pause menu where the player has to press Esc. to pause and unpause.)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Player Input Button Events loop error and how to use
« Reply #1 on: November 16, 2021, 08:56:06 PM »
Hi.
Try to add a next frame event

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Re: Player Input Button Events loop error and how to use
« Reply #2 on: November 16, 2021, 09:22:43 PM »
I will experiment on that, but right now I added a send event and place a 0.1 delay and it stopped looping, Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Player Input Button Events loop error and how to use
« Reply #3 on: November 17, 2021, 08:07:00 AM »
Hi.
Next Frame will do the same thing its not advisable to use a wait for this :)

arminiuspp

  • Playmaker Newbie
  • *
  • Posts: 37
Re: Player Input Button Events loop error and how to use
« Reply #4 on: November 17, 2021, 09:58:50 PM »
Thanks! I also added the next event to "Pressed on this frame" and it works normal again.