Forum rules - please read before posting.

Player moving while typing in text input

Followed this tutorial and double checked everything, can't figure out how to make the character not move while typing on the text input field.
Example, player is using direct control using keyboard.

Any help would be appreciated.

Comments

  • The Player: Constrain Action can be used to prevent the Player from being able to move.

    You can add this Action to the Menu's ActionList when turn on asset to disable their Up/Down/Left/Right movement states, and another to the Menu's "turn off" asset to re-enable it.

  • Ok nice, it works well.
    Thanks for the quick reply 🙏🏻

  • Actually there was a better way. Enabling the option "Pause game when enabled?" :D
    Maybe consider explaining it on this tutorial , will help people that are getting started with AC like me ;)

  • Ok never mind, this is no good, because it pauses the animations :/
    Back to the Constrain approach, how to also disable the mouse interactions when the menu is showing?

  • Also need to hide the "Menu" button, is there a cutscene mode? :s

  • how to also disable the mouse interactions when the menu is showing?

    The Engine: Manage systems Action can be used to disable the Interaction system.

    Also need to hide the "Menu" button, is there a cutscene mode?

    By default, the default "Menu" button will display during gameplay because its Appear type is set to During Gameplay.

    When a Menu is locked, however, it will not display - even if it's "Appear type" condition is met.

    As well as the Actions above, add a Menu: Change state Action - using the Lock Menu command to lock the "InGame" menu (the name of the default "Menu" button).

    Run the reverse of these Actions again when the Input menu turns off to undo these effects.

  • Thank you so much Chris. Works really well.

    Also had to lock the menus "Inventory" and "Pause" by the way.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.