How can I run this two functions at the same time??

Hi everyone! Hope you’re all doing well.

I’m fairly new to programming, mainly working with Blueprint, and I’ve spent the last few days watching tutorials, reading forums, and exploring the Unreal interface.

Here’s my situation: I’m trying to run a program where when a player reaches a door, they can interact with it to open it, and after a few seconds, it automatically closes. After several attempts, I managed to get it running, but I’m having an issue with the text that appears when reaching the door (interaction). The problem is that it only lets me either reset the door movement or disable the interaction and text - but not both at the same time.

Does anyone have an idea of what I can do, or am I perhaps doing something wrong from the start?


¡Hola a todos! Espero estén bien.
Soy un poco nuevo en el mundo de la programación, principalmente con blueprint, y hace un par de días que ando mirando tutoriales, leyendo forums y revisando la interfaz de unreal.
Lo que sucede es que estoy intentando correr un programa donde un jugador llegue a una puerta, interactúe con ella para abrirla y luego de unos segundos, esta se cierre automáticamente. Después de varios intentos logré hacer el que corriera, pero tengo un problema con el texto que aparece cuando se llega a la puerta (interacción) y es que solo me deja o reiniciar el movimiento de la puerta o desactivar la interacción y el texto y no las 2 al tiempo.
¿Alguno tiene idea de qué puedo hacer o si quizás estoy haciendo algo mal desde el inicio?

Hey @IkiYisus! Welcome to the forums!

To begin, I will say you probably want your Timeline to use “Play From Start” so each time it begins from the beginning point. Otherwise it will pick up where it left off- typically the end.

I think it’s important to point out that the nodes “Enable Input” and “Disable Input” enable and disable ALL CONTROLS from the player.

Now onto the “On Component Begin Overlap”. Everything here makes sense except disabling and enabling input, and the “Cast to ThirdPersonCharacter.” Maybe remove those? The disabling and enabling input seems like it’s disabling at the wrong time, and the casting to Third Person Character is not doing anything at all.

Try taking that stuff out and going from there!
Let us know how it goes! :slight_smile: