No announcement yet.

Trying to lock player input in Top Down template.

  • Filter
  • Time
  • Show
Clear All
new posts

    Trying to lock player input in Top Down template.

    I am trying to lock the player input in the Top Down template.

    I have nodes setup to disable, and enable input based on entering a volume, and following a delay.

    It does does not appear to be working.

    This is what I want to have happen.

    1) Player enters volume
    2) Players movement is stopped (working)
    3) Players input is locked (not working)
    4) Player is teleported (working)
    5) Player input is restored

    Any help would be greatly appreciated!

    Click image for larger version

Name:	Screenshot (1).png
Views:	1
Size:	472.5 KB
ID:	1141120

    You could try activating/deactivating your players movement component.

    From your 'Get player character' cast to your character, then from that you can activate/deactivate its component.
    Ben Halpin - Lead Developer - Lazy Games
    Overdosed on Early Access: Overdosed - A Trip To Hell
    Give a 'like' on fb: Give a 'follow' on twitter: And why not check out


      The easiest way to do it would be to simply go into all the movement buttons are in the BP and after the input action / axis event fires do a Branch for "Allow Input?" and connect everything to the true. Then, when you want to take control away, just set "Allow input" to false and the player won't be able to move the character!
      "Information shouldn't be behind a paywall, It should be free for all!"


        Just get the player controller and set the cinematic mode to true.