Temporarily disabling Player Input!

Hey guys! Thanks in advance for anyone replying to this.

I wanted to know if it’s possible to temporarily disable player input when walking through a triggerbox. Basically, the goal is to force them to watch an in-game event, or to listen to some dialogue. Think Skyrim or Fallout when someone approaches you and forces a dialogue - you have no choice but to respond and cannot move.

Is this possible?

Thanks!

You can just use

The only problem is, they can’t exit the box :smiley:

So you need another way of doing that…

Haha yeah, that’s what I was wondering!

Is there a way to add a timer to it? Eg input gets re-enabled after 40 seconds or so? (Sorry if seems silly i am new to blueprints)

It’s probably better to just stop them moving, though. Because they probably need to be able to look around, and maybe type something.

So you need a custom approach, and the way to do that is by changing the code inside the player.

1 Like

Amazing thanks so much for the help dude. I’ll give this a crack and hopefully I can get it working!

Thanks again :slight_smile:

1 Like