Time control and action to stop the character

I believe my question is very simple, first I wanted to know how do I leave a message on the screen for N seconds (it could also be minutes)

And my second question is how to make the character remain “immobile” while the message is on the screen

Thank you very much in advance

Hello, here are some tutorials that I found, but I haven’t managed it yet :frowning:

I wanted to leave here the steps I took

This is the message event (I managed to make the message appear on the screen, but the character still moves)

And this is the character event (created within the FirstPersonCharacter bp):

If anyone can help me, I would appreciate it.

Unreal Engine 5.1

Hey there @EhOpranD! Since you had success in creating the widget, I’d recommend looking into Set Input Mode UI Only and Set Input Mode Game Only. These nodes are able to take your character controller’s input away and only allow UI interaction for the time, then game only returns the focus to your player.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

Here’s an old (but still relevant!) rundown by the great Matthew Wadstein:

2 Likes

I’ll post the solution I found here, to make the character remain “immobile” (only being able to move the camera)

First I created a variable “TestMov” and left it as false

Then in Event Begin I transformed the variable into true, I added a daley to keep it that way for as long as I wanted the character to be immobile and then transformed it into false again.

Inside the inputMov event I placed a branch to check whether the “test mov” variable was true or not, if it were true nothing would happen if false, the character would move again

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.