In general, I have a problem, I need to make it so that when the player approaches the trigger box I need, the character’s camera smoothly transitions to the camera I need in another blueprint, and when the camera switches, the character’s control turns off and when another button is pressed, it returns back. It turns out that the camera is getting closer, but I can’t return control.
Hey @user142562235231!
So the reason this won’t work is you’re disabling input and you’re not giving it back. If you disable input you can’t use any input… So your other event isn’t going off.
If it’s only movement you’re worried about you can try using “Disable Movement” instead!
Let us know how it goes!
Yes, it works, but I need to disable, in addition to character movement, logic, for example, turning on and off the flashlight in BP_ThirdPersonCharacter
You can try the unpossess node!
Then use the possess node to reattach the player controller.
You may need to move the possess and unpossess nodes to the gameMode! That way you can stop any inputs from going through- since you’re not using these inputs to control the player, but the game itself.
Hope that gets you where you’re needing to go, let us know if you get stuck!
could you please describe in more detail the order of adding nodes? I just don’t really understand where exactly I need to add nodes
This is something you’re going to have to build in a different spot. It’s not really so much the order as where they are.
You need to put these events on the GameMode instead of on the player BP. That’s the main thing here. You could also put them on the player controller BP. You may want to do some extra research on that and start a new thread regarding that once you’ve done so. This is kind of a complicated thing you’re trying to do compared to, say, add a punch input.
You’ve got this, though, you’ve come this far so I think you’ve got it in you!
Hey, @user142562235231! Did you get it figured out?
Let us know for future answer seekers!