Advice for player input, stop moving player when does an action

hariskap

New member
I am new to behaviour designer. I have a very simple player, he moves, and he has 2 actions based on 2 buttons.
  • 1 button is the action button that does a single press interaction
  • The other button is for the player to do an operation when is being held down
My issue is that when I hold the operation button down and doe's the operation I don't want the player to move.

Any advices on how can I do that?
 

Attachments

  • Screenshot 2024-03-18 at 17.47.32.png
    Screenshot 2024-03-18 at 17.47.32.png
    613 KB · Views: 3
You can use the Interrupt/Perform Interruption tasks to prevent multiple branches from being active at the same time. Take a look at the RTS sample project for an example of it.
 
Top