Ok thanks, but I get lost after “Make the door variable instance editable.” and I need a little guidance.
-
You need an integer variable created on both player/controller and one on the door BP.
So I’ve created two integer variables 1 - for player pawn, 2 - for door “player” inside door BP and my main character BP. -
On overlap of the box trigger set the player integer to the integer of the door that particular trigger is in front of.
I need to hold down F key to use possess node so I’ve set player integer before possess function. -
Then make a function in the player that gets all door actors
Where this function should be? Inside my main character or character that i want to possess or meaby inside my door BP? -
run a for each loop and check player integer vs door integer.
I’m totally lost here.
Sorry im new in UE and a lot of things is pure abstraction for me.