Download

Problem to change camera pressing Key in trigger box

Hi everyone, can anyone help me? It’s very important. I would like to enter the trigger box and switch camera by pressing the Y key. It all works correctly but there is a problem: when I start, for a single time, pressing the Y key out of the trigger box still works and starts the camera change. I would like the camera to change only when I press Y inside the trigger box. After I press Y and change the camera for once (out of the trigger) if I go into the box and press Y everything works correctly, the problem is that first time when I change the camera from outside the trigger. I show you the BP, please I need urgent help.

Use event BeginPlay first to Disable Input.
But overall, prefer ‘Gates’ for this instead…

Sorry i’m beginner, where exactly i have to use event beginplay?

The same way you created the other nodes above…
Right click on the graph grey area above and type…
Event Begin Play (untick Context Sensitive etc).
Try to watch some more videos, as this is all basic…

I’v found a solution, Gate is the way, thanks.